ExceptionListener

ExceptionListener

class ExceptionListener implements EventSubscriberInterface

ExceptionListener.

Methods

__construct($controller, LoggerInterface $logger = null)
onKernelException(GetResponseForExceptionEvent $event)
static array getSubscribedEvents()

Returns an array of event names this subscriber wants to listen to.登录查看完整内容