PHP Class Ojs\CoreBundle\Listeners\ExceptionListener

Mostra file Open project: ojs/ojs

Public Methods

Method Description
__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 )

Private Methods

Method Description
getRefererParams ( Request $request )
onHasRelationException ( GetResponseForExceptionEvent $event )
onMethodNotAllowedHttpException ( GetResponseForExceptionEvent $event )

Method Details

__construct() public method

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 method

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