Symfony\Component\EventDispatcher\EventDispatcherInterface::getListeners
Gets the listeners of a specific event or all listeners.
Signature
public function getListeners([string
$eventName = null] )
Parameters
$eventName
— string- The name of the event
Returns
- array
- The event listeners for the specified event, or all event listeners by event name