| 1 | <?php |
||
| 10 | class RequestMatchingExceptionListener implements EventSubscriberInterface |
||
| 11 | { |
||
| 12 | |||
| 13 | /** |
||
| 14 | * @var ExceptionListener |
||
| 15 | */ |
||
| 16 | private $exceptionListener; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @var RequestMatcherInterface |
||
| 20 | */ |
||
| 21 | private $matcher; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @param ExceptionListener $listener |
||
| 25 | * @param RequestMatcherInterface $matcher |
||
| 26 | */ |
||
| 27 | 4 | public function __construct(ExceptionListener $listener, RequestMatcherInterface $matcher) |
|
| 32 | |||
| 33 | /** |
||
| 34 | * @param GetResponseForExceptionEvent $event |
||
| 35 | */ |
||
| 36 | 4 | public function onKernelException(GetResponseForExceptionEvent $event) |
|
| 44 | |||
| 45 | 2 | public static function getSubscribedEvents() |
|
| 49 | } |
||
| 50 |