| @@ 47-53 (lines=7) @@ | ||
| 44 | /** |
|
| 45 | * {@inheritdoc} |
|
| 46 | */ |
|
| 47 | public static function getSubscribedEvents() |
|
| 48 | { |
|
| 49 | return [ |
|
| 50 | 'kernel.request' => ['onEvent', 1024], |
|
| 51 | 'console.command' => ['onEvent', 1024], |
|
| 52 | ]; |
|
| 53 | } |
|
| 54 | } |
|
| 55 | ||
| @@ 76-82 (lines=7) @@ | ||
| 73 | * |
|
| 74 | * {@inheritdoc} |
|
| 75 | */ |
|
| 76 | public static function getSubscribedEvents() |
|
| 77 | { |
|
| 78 | return [ |
|
| 79 | 'kernel.request' => ['onEvent', 1024], |
|
| 80 | 'console.command' => ['onEvent', 1024], |
|
| 81 | ]; |
|
| 82 | } |
|
| 83 | } |
|
| 84 | ||