File tree 3 files changed +6
-3
lines changed
example/symfony27/app/config
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
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,7 @@ 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
+ * @return void
35
36
*/
36
37
public function __construct (
37
38
TokenStorageInterface $ tokens = null ,
@@ -44,6 +45,9 @@ public function __construct(
44
45
}
45
46
46
47
/**
48
+ * Define a callback to set the currently authenticated user as the user
49
+ * on any BugSnag reports that are sent.
50
+ *
47
51
* @param \Bugsnag\Report $report
48
52
*
49
53
* @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' }
You can’t perform that action at this time.
0 commit comments