| Total Complexity | 2 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Coverage | 60% |
| Changes | 0 | ||
| 1 | <?php |
||
| 18 | class ExceptionSubscriber implements EventSubscriberInterface |
||
| 19 | { |
||
| 20 | /** |
||
| 21 | * {@inheritdoc} |
||
| 22 | */ |
||
| 23 | public static function getSubscribedEvents() |
||
| 29 | ], |
||
| 30 | ]; |
||
| 31 | } |
||
| 32 | |||
| 33 | /** |
||
| 34 | * {@inheritdoc} |
||
| 35 | */ |
||
| 36 | 11 | public function processException() |
|
| 37 | { |
||
| 38 | 11 | $dispatcher = new EventDispatcher(); |
|
| 39 | 11 | $dispatcher->dispatch('onKernelRequest'); |
|
| 40 | 11 | } |
|
| 42 |