interface EventListener implements EventSubscriberInterface

Methods

array
getEvents()

Return an array of events to listen to.

Details

at line line 31
array getEvents()

Return an array of events to listen to.

The array keys are event names and the value is the method name to call. For instance: ['eventType' => 'methodName']

Return Value

array The event names to listen to