Пример #1
0
 /**
  * {@inheritdoc}
  */
 protected function doDispatch($listeners, $eventName, Event $event)
 {
     foreach ($listeners as $listener) {
         if ($event->isPropagationStopped()) {
             break;
         }
         $this->currentListenerSniffCodeProvider->setCurrentListener($listener);
         call_user_func($listener, $event, $eventName, $this);
     }
 }