| Total Complexity | 3 |
| Total Lines | 33 |
| Duplicated Lines | 0 % |
| 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 | public function __construct(ContainerInterface $container) |
||
| 28 | { |
||
| 29 | $this->container = $container; |
||
| 30 | } |
||
| 31 | |||
| 32 | public function onKernelRequest() |
||
| 39 | } |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @return array |
||
| 43 | */ |
||
| 44 | public static function getSubscribedEvents(): array |
||
| 48 | ]; |
||
| 49 | } |
||
| 51 |