[ Index ]

PHP Cross Reference of phpBB-3.3.7-deutsch




/vendor/symfony/event-dispatcher/ -> EventDispatcher.php (summary)

(no description)

File Size: 238 lines (7 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

EventDispatcher:: (10 methods):

Class: EventDispatcher  - X-Ref

The EventDispatcherInterface is the central point of Symfony's event listener system.

Listeners are registered on the manager and events are dispatched through the

dispatch($eventName, Event $event = null)   X-Ref

getListeners($eventName = null)   X-Ref

getListenerPriority($eventName, $listener)   X-Ref

hasListeners($eventName = null)   X-Ref

addListener($eventName, $listener, $priority = 0)   X-Ref

removeListener($eventName, $listener)   X-Ref

addSubscriber(EventSubscriberInterface $subscriber)   X-Ref

removeSubscriber(EventSubscriberInterface $subscriber)   X-Ref

doDispatch($listeners, $eventName, Event $event)   X-Ref
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

sortListeners($eventName)   X-Ref
Sorts the internal list of listeners for the given event by priority.

param: string $eventName The name of the event

Generated: Thu Mar 24 21:31:15 2022 Cross-referenced by PHPXref 0.7.1