class AlligatorExceptionListener

Class AlligatorExceptionListener is injected as kernel.listener.alligator.exception.listener service. AlligatorExceptionListener is listener class for handling an error in kernel events

Methods

__construct(EngineInterface $templateEngine, RequestStack $requestStack, UrlGeneratorInterface $router, Client $cache, Session $session, UserManager $userManager)

AlligatorExceptionListener constructor.

onKernelException(GetResponseForExceptionEvent $event)

Handle thrown exception

Details

at line 97
__construct(EngineInterface $templateEngine, RequestStack $requestStack, UrlGeneratorInterface $router, Client $cache, Session $session, UserManager $userManager)

AlligatorExceptionListener constructor.

Parameters

EngineInterface $templateEngine
RequestStack $requestStack
UrlGeneratorInterface $router
Client $cache
Session $session
UserManager $userManager

at line 113
onKernelException(GetResponseForExceptionEvent $event)

Handle thrown exception

Parameters

GetResponseForExceptionEvent $event

Exceptions

Exception