1 | <?php |
||
14 | final class ExceptionListener implements EventSubscriberInterface |
||
15 | { |
||
16 | /** |
||
17 | * {@inheritdoc} |
||
18 | */ |
||
19 | 1 | public static function getSubscribedEvents() |
|
25 | |||
26 | /** |
||
27 | * Transform an innmind http exception into a symfony one to generate the |
||
28 | * appropriate http response |
||
29 | * |
||
30 | * @param GetResponseForExceptionEvent $event |
||
31 | * |
||
32 | * @return void |
||
33 | */ |
||
34 | 2 | public function transformException(GetResponseForExceptionEvent $event) |
|
50 | } |
||
51 |