Example #1
0
 /**
  * Triggers the listeners of an event.
  *
  * This method can be overridden to add functionality that is executed
  * for each listener.
  *
  * @param callable[] $listeners The event listeners.
  * @param string     $eventName The name of the event to dispatch.
  * @param Event      $event     The event object to pass to the event handlers/listeners.
  */
 protected static function doDispatch($listeners, $eventName, Symfony\Component\EventDispatcher\Event $event)
 {
     return static::$instance->doDispatch($listeners, $eventName, $event);
 }