Total Complexity | 3 |
Total Lines | 33 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
15 | class RequestListener implements EventSubscriberInterface |
||
16 | { |
||
17 | /** |
||
18 | * @var ContainerInterface |
||
19 | */ |
||
20 | protected $container; |
||
21 | |||
22 | /** |
||
23 | * RequestListener constructor. |
||
24 | * |
||
25 | * @param ContainerInterface $container |
||
26 | */ |
||
27 | 1 | public function __construct(ContainerInterface $container) |
|
30 | 1 | } |
|
31 | |||
32 | 1 | public function onKernelRequest() |
|
39 | 1 | } |
|
40 | |||
41 | /** |
||
42 | * @return array |
||
43 | */ |
||
44 | 1 | public static function getSubscribedEvents(): array |
|
51 |