src/Server/Components/Event/EventDispatcher.php
protected function dispatchEvent($event)
    {
        if (!array_key_exists($event->type, $this->_eventListeners)) {
            return; // no need to do anything
        }
        $this->invokeEvent($event);
    }
protected function dispatchEvent($event)
    {
        if (!array_key_exists($event->type, $this->_eventListeners)) {
            return; // no need to do anything
        }
        $this->invokeEvent($event);
    }
protected function dispatchEvent ( $ event ) { if ( ! array_key_exists ( $ event -> type , $ this -> _eventListeners ) ) { return ; // no need to do anything } $ this -> invokeEvent ( $ event ) ; }
Dispatches an event to all objects that have registered listeners for its type.
If an event with enabled 'bubble' property is dispatched to a display object, it will
travel up along the line of parents, until it either hits the root object or someone
stops its propagation manually.

@param Event $event
Dispatches an event to all objects that have registered listeners for its type . If an event with enabled bubble property is dispatched to a display object it will travel up along the line of parents until it either hits the root object or someone stops its propagation manually .