[ Index ]

PHP Cross Reference of phpBB-3.1.12-deutsch

title

Body

[close]

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

(no description)

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

Defines 1 class

EventDispatcher:: (9 methods):
  dispatch()
  getListeners()
  hasListeners()
  addListener()
  removeListener()
  addSubscriber()
  removeSubscriber()
  doDispatch()
  sortListeners()


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
manager.

dispatch($eventName, Event $event = null)   X-Ref
{@inheritdoc}


getListeners($eventName = null)   X-Ref
{@inheritdoc}


hasListeners($eventName = null)   X-Ref
{@inheritdoc}


addListener($eventName, $listener, $priority = 0)   X-Ref
{@inheritdoc}


removeListener($eventName, $listener)   X-Ref
{@inheritdoc}


addSubscriber(EventSubscriberInterface $subscriber)   X-Ref
{@inheritdoc}


removeSubscriber(EventSubscriberInterface $subscriber)   X-Ref
{@inheritdoc}


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: array[callback] $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 Jan 11 00:25:41 2018 Cross-referenced by PHPXref 0.7.1