Class ImmutableEventDispatcher
A read-only proxy for an event dispatcher.
- Symfony\Component\EventDispatcher\ImmutableEventDispatcher implements Symfony\Component\EventDispatcher\EventDispatcherInterface
Namespace: Symfony\Component\EventDispatcher
Author: Bernhard Schussek bschussek@gmail.com
Located at ImmutableEventDispatcher.php
Author: Bernhard Schussek bschussek@gmail.com
Located at ImmutableEventDispatcher.php
public
|
#
__construct(
Creates an unmodifiable proxy for an event dispatcher. |
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
|