PHP Class Eccube\EventListener\TransactionListener

Inheritance: implements Symfony\Component\EventDispatcher\EventSubscriberInterface
Show file Open project: ec-cube/ec-cube

Public Methods

Method Description
__construct ( Application $app ) Constructor function.
getSubscribedEvents ( ) : array Return the events to subscribe to.
onKernelException ( GetResponseForExceptionEvent $event ) Kernel exception listener callback.
onKernelRequest ( GetResponseEvent $event ) Kernel request listener callback.
onKernelTerminate ( Symfony\Component\HttpKernel\Event\PostResponseEvent $event ) Kernel terminate listener callback.

Method Details

__construct() public method

Constructor function.
public __construct ( Application $app )
$app Eccube\Application

getSubscribedEvents() public static method

Return the events to subscribe to.
public static getSubscribedEvents ( ) : array
return array

onKernelException() public method

Kernel exception listener callback.
public onKernelException ( GetResponseForExceptionEvent $event )
$event Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent

onKernelRequest() public method

Kernel request listener callback.
public onKernelRequest ( GetResponseEvent $event )
$event Symfony\Component\HttpKernel\Event\GetResponseEvent

onKernelTerminate() public method

Kernel terminate listener callback.
public onKernelTerminate ( Symfony\Component\HttpKernel\Event\PostResponseEvent $event )
$event Symfony\Component\HttpKernel\Event\PostResponseEvent