File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed 
example/symfony27/app/config Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ class BugsnagBundle extends Bundle
1616    const  VERSION  = '1.0.0 ' ;
1717
1818    /** 
19-      * {@inheritdoc}  
19+      * Setup the callback registering pass.  
2020     * 
2121     * @param \Symfony\Component\DependencyInjection\ContainerBuilder $container 
2222     * 
Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ class UserSettingCallback
3232     * @param null|\Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface $tokens 
3333     * @param null|\Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface        $checker 
3434     * @param bool                                                                                     $setUser 
35+      * @return void 
3536     */ 
3637    public  function  __construct (
3738        TokenStorageInterface $ tokensnull ,
@@ -44,6 +45,9 @@ public function __construct(
4445    }
4546
4647    /** 
48+      * Define a callback to set the currently authenticated user as the user 
49+      * on any BugSnag reports that are sent. 
50+      * 
4751     * @param \Bugsnag\Report $report 
4852     * 
4953     * @return void 
Original file line number Diff line number Diff line change @@ -4,8 +4,7 @@ parameters:
44#     parameter_name: value
55
66services :
7- 
87    bugsnag_metadata_callback :
98        class : AppBundle\Bugsnag\MetadataCallback 
109        tags :
11-             - { name: 'bugsnag.callback' } 
10+             - { name: 'bugsnag.callback' } 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments