Interface EventDispatcherInterface
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.
Direct known implementers
Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcherInterface, Symfony\Component\EventDispatcher\EventDispatcher, Symfony\Component\EventDispatcher\ImmutableEventDispatcherIndirect known implementers
Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher, Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher
Namespace: Symfony\Component\EventDispatcher
Author: Bernhard Schussek bschussek@gmail.com
Api
Located at EventDispatcherInterface.php
Author: Bernhard Schussek bschussek@gmail.com
Api
Located at EventDispatcherInterface.php
public
|
#
dispatch( string $eventName,
Dispatches an event to all registered listeners. |
public
|
#
addListener( string $eventName, callable $listener, integer $priority = 0 )
Adds an event listener that listens on the specified events. |
public
|
#
addSubscriber(
Adds an event subscriber. |
public
|
#
removeListener( string $eventName, callable $listener )
Removes an event listener from the specified events. |
public
|
#
removeSubscriber(
Removes an event subscriber. |
public
array
|
|
public
boolean
|