trait Event

Methods

void
triggerEvent(string $sEvent)

Trigger an event.

array
getEvents()

Return an array of events to listen to.

array
getSubscribedEvents()

Return an array of events to listen to.

Details

at line line 26
void triggerEvent(string $sEvent)

Trigger an event.

Parameters

string $sEvent The event name

Return Value

void

at line line 38
array getEvents()

Return an array of events to listen to.

This is the default implementation on the EventListener interface.

Return Value

array An empty array

at line line 50
array getSubscribedEvents()

Return an array of events to listen to.

This is the implementation of the Lemon\Event\EventSubscriberInterface interface.

Return Value

array The event names to listen to