File tree 5 files changed +7
-5
lines changed
5 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ class BugsnagBundle extends Bundle
16
16
const VERSION = '1.0.0 ' ;
17
17
18
18
/**
19
- * {@inheritdoc}
19
+ * Setup the callback registering pass.
20
20
*
21
21
* @param \Symfony\Component\DependencyInjection\ContainerBuilder $container
22
22
*
Original file line number Diff line number Diff line change @@ -32,6 +32,8 @@ class UserSettingCallback
32
32
* @param null|\Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface $tokens
33
33
* @param null|\Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface $checker
34
34
* @param bool $setUser
35
+ *
36
+ * @return void
35
37
*/
36
38
public function __construct (
37
39
TokenStorageInterface $ tokens = null ,
@@ -44,6 +46,9 @@ public function __construct(
44
46
}
45
47
46
48
/**
49
+ * Define a callback to set the currently authenticated user as the user
50
+ * on any BugSnag reports that are sent.
51
+ *
47
52
* @param \Bugsnag\Report $report
48
53
*
49
54
* @return void
Original file line number Diff line number Diff line change @@ -4,8 +4,7 @@ parameters:
4
4
# parameter_name: value
5
5
6
6
services :
7
-
8
7
bugsnag_metadata_callback :
9
8
class : AppBundle\Bugsnag\MetadataCallback
10
9
tags :
11
- - { name: 'bugsnag.callback' }
10
+ - { name: 'bugsnag.callback' }
Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ parameters:
4
4
# parameter_name: value
5
5
6
6
services :
7
-
8
7
bugsnag_metadata_callback :
9
8
class : AppBundle\Bugsnag\MetadataCallback
10
9
tags :
Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ parameters:
4
4
# parameter_name: value
5
5
6
6
services :
7
-
8
7
bugsnag_metadata_callback :
9
8
class : AppBundle\Bugsnag\MetadataCallback
10
9
tags :
You can’t perform that action at this time.
0 commit comments