| 1 | <?php |
||
| 13 | class ExceptionActivityListener |
||
| 14 | { |
||
| 15 | /** @var ActivityManager $manager */ |
||
| 16 | private $manager; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * RequestActivityListener constructor. |
||
| 20 | * @param ActivityManager $activityManager Business logic |
||
| 21 | */ |
||
| 22 | public function __construct(ActivityManager $activityManager) |
||
| 26 | |||
| 27 | /** |
||
| 28 | * Should not handle Validation Exceptions and only service exceptions |
||
| 29 | * |
||
| 30 | * @param GetResponseForExceptionEvent $event Sf Event |
||
| 31 | * |
||
| 32 | * @return void |
||
| 33 | */ |
||
| 34 | public function onKernelException(GetResponseForExceptionEvent $event) |
||
| 39 | |||
| 40 | } |