Symfony\Component\EventDispatcher\EventDispatcher::doDispatch
Triggers the listeners of an event.
This method can be overridden to add functionality that is executed for each listener.
Signature
protected function doDispatch(array[callback]
$listeners,
Event
$eventName,
Event
$event )
Parameters
$listeners
— object- The event listeners.
$eventName
— string- The name of the event to dispatch.
$event
— Symfony\Component\EventDispatcher\Event- The event object to pass to the event handlers/listeners.