class TransactionListener implements EventSubscriberInterface

トランザクション制御のためのListener

Methods

__construct(Application $app)

Constructor function.

onKernelRequest(GetResponseEvent $event)

Kernel request listener callback.

onKernelException(GetResponseForExceptionEvent $event)

Kernel exception listener callback.

onKernelTerminate(PostResponseEvent $event)

Kernel terminate listener callback.

static array
getSubscribedEvents()

Return the events to subscribe to.

Details

at line 47
__construct(Application $app)

Constructor function.

Parameters

Application $app

at line 57
onKernelRequest(GetResponseEvent $event)

Kernel request listener callback.

Parameters

GetResponseEvent $event

at line 77
onKernelException(GetResponseForExceptionEvent $event)

Kernel exception listener callback.

Parameters

GetResponseForExceptionEvent $event

at line 98
onKernelTerminate(PostResponseEvent $event)

Kernel terminate listener callback.

Parameters

PostResponseEvent $event

at line 120
static array getSubscribedEvents()

Return the events to subscribe to.

Return Value

array