PHP Класс Ojs\CoreBundle\Listeners\ExceptionListener

Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( Symfony\Component\Routing\RouterInterface $router, Symfony\Component\HttpFoundation\Session\Session $session, Symfony\Component\Translation\TranslatorInterface $translator, Symfony\Component\HttpFoundation\RequestStack $requestStack ) ExceptionListener constructor.
onKernelException ( GetResponseForExceptionEvent $event )

Приватные методы

Метод Описание
getRefererParams ( Request $request )
onHasRelationException ( GetResponseForExceptionEvent $event )
onMethodNotAllowedHttpException ( GetResponseForExceptionEvent $event )

Описание методов

__construct() публичный метод

ExceptionListener constructor.
public __construct ( Symfony\Component\Routing\RouterInterface $router, Symfony\Component\HttpFoundation\Session\Session $session, Symfony\Component\Translation\TranslatorInterface $translator, Symfony\Component\HttpFoundation\RequestStack $requestStack )
$router Symfony\Component\Routing\RouterInterface
$session Symfony\Component\HttpFoundation\Session\Session
$translator Symfony\Component\Translation\TranslatorInterface
$requestStack Symfony\Component\HttpFoundation\RequestStack

onKernelException() публичный метод

public onKernelException ( GetResponseForExceptionEvent $event )
$event Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent