@@ 51-57 (lines=7) @@ | ||
48 | /** |
|
49 | * {@inheritdoc} |
|
50 | */ |
|
51 | public static function getSubscribedEvents() |
|
52 | { |
|
53 | return [ |
|
54 | 'kernel.request' => ['onEvent', 1024], |
|
55 | 'console.command' => ['onEvent', 1024], |
|
56 | ]; |
|
57 | } |
|
58 | } |
|
59 |
@@ 28-34 (lines=7) @@ | ||
25 | * |
|
26 | * {@inheritdoc} |
|
27 | */ |
|
28 | public static function getSubscribedEvents() |
|
29 | { |
|
30 | return [ |
|
31 | 'kernel.request' => ['onEvent', 1024], |
|
32 | 'console.command' => ['onEvent', 1024], |
|
33 | ]; |
|
34 | } |
|
35 | } |
|
36 |