Open Journal Systems
3.3.0
|
Public Member Functions | |
__construct (EventDispatcherInterface $dispatcher) | |
__construct (EventDispatcherInterface $dispatcher) | |
addListener ($eventName, $listener, $priority=0) | |
addListener ($eventName, $listener, $priority=0) | |
addSubscriber (EventSubscriberInterface $subscriber) | |
addSubscriber (EventSubscriberInterface $subscriber) | |
dispatch ($eventName, Event $event=null) | |
dispatch ($eventName, Event $event=null) | |
getListenerPriority ($eventName, $listener) | |
getListenerPriority ($eventName, $listener) | |
getListeners ($eventName=null) | |
getListeners ($eventName=null) | |
hasListeners ($eventName=null) | |
hasListeners ($eventName=null) | |
removeListener ($eventName, $listener) | |
removeListener ($eventName, $listener) | |
removeSubscriber (EventSubscriberInterface $subscriber) | |
removeSubscriber (EventSubscriberInterface $subscriber) | |
A read-only proxy for an event dispatcher.
Definition at line 19 of file lib/vendor/symfony/event-dispatcher/ImmutableEventDispatcher.php.
Symfony\Component\EventDispatcher\ImmutableEventDispatcher::__construct | ( | EventDispatcherInterface | $dispatcher | ) |
Definition at line 23 of file lib/vendor/symfony/event-dispatcher/ImmutableEventDispatcher.php.
Symfony\Component\EventDispatcher\ImmutableEventDispatcher::__construct | ( | EventDispatcherInterface | $dispatcher | ) |
Definition at line 23 of file vendor/symfony/event-dispatcher/ImmutableEventDispatcher.php.
Symfony\Component\EventDispatcher\ImmutableEventDispatcher::addListener | ( | $eventName, | |
$listener, | |||
$priority = 0 |
|||
) |
{Adds an event listener that listens on the specified events.
string | $eventName | The event to listen on |
callable | $listener | The listener |
int | $priority | The higher this value, the earlier an event listener will be triggered in the chain (defaults to 0) |
Implements Symfony\Component\EventDispatcher\EventDispatcherInterface.
Definition at line 39 of file lib/vendor/symfony/event-dispatcher/ImmutableEventDispatcher.php.
Symfony\Component\EventDispatcher\ImmutableEventDispatcher::addListener | ( | $eventName, | |
$listener, | |||
$priority = 0 |
|||
) |
{Adds an event listener that listens on the specified events.
string | $eventName | The event to listen on |
callable | $listener | The listener |
int | $priority | The higher this value, the earlier an event listener will be triggered in the chain (defaults to 0) |
Implements Symfony\Component\EventDispatcher\EventDispatcherInterface.
Definition at line 39 of file vendor/symfony/event-dispatcher/ImmutableEventDispatcher.php.
Symfony\Component\EventDispatcher\ImmutableEventDispatcher::addSubscriber | ( | EventSubscriberInterface | $subscriber | ) |
{Adds an event subscriber.The subscriber is asked for all the events he is interested in and added as a listener for these events.}
Implements Symfony\Component\EventDispatcher\EventDispatcherInterface.
Definition at line 47 of file vendor/symfony/event-dispatcher/ImmutableEventDispatcher.php.
Symfony\Component\EventDispatcher\ImmutableEventDispatcher::addSubscriber | ( | EventSubscriberInterface | $subscriber | ) |
{Adds an event subscriber.The subscriber is asked for all the events he is interested in and added as a listener for these events.}
Implements Symfony\Component\EventDispatcher\EventDispatcherInterface.
Definition at line 47 of file lib/vendor/symfony/event-dispatcher/ImmutableEventDispatcher.php.
Symfony\Component\EventDispatcher\ImmutableEventDispatcher::dispatch | ( | $eventName, | |
Event | $event = null |
||
) |
{Dispatches an event to all registered listeners.
string | $eventName | The name of the event to dispatch. The name of the event is the name of the method that is invoked on listeners. |
Event | $event | The event to pass to the event handlers/listeners If not supplied, an empty Event instance is created |
Implements Symfony\Component\EventDispatcher\EventDispatcherInterface.
Definition at line 31 of file vendor/symfony/event-dispatcher/ImmutableEventDispatcher.php.
Symfony\Component\EventDispatcher\ImmutableEventDispatcher::dispatch | ( | $eventName, | |
Event | $event = null |
||
) |
{Dispatches an event to all registered listeners.
string | $eventName | The name of the event to dispatch. The name of the event is the name of the method that is invoked on listeners. |
Event | $event | The event to pass to the event handlers/listeners If not supplied, an empty Event instance is created |
Implements Symfony\Component\EventDispatcher\EventDispatcherInterface.
Definition at line 31 of file lib/vendor/symfony/event-dispatcher/ImmutableEventDispatcher.php.
Symfony\Component\EventDispatcher\ImmutableEventDispatcher::getListenerPriority | ( | $eventName, | |
$listener | |||
) |
{}
Definition at line 79 of file vendor/symfony/event-dispatcher/ImmutableEventDispatcher.php.
Symfony\Component\EventDispatcher\ImmutableEventDispatcher::getListenerPriority | ( | $eventName, | |
$listener | |||
) |
{}
Definition at line 79 of file lib/vendor/symfony/event-dispatcher/ImmutableEventDispatcher.php.
Symfony\Component\EventDispatcher\ImmutableEventDispatcher::getListeners | ( | $eventName = null | ) |
{Gets the listeners of a specific event or all listeners sorted by descending priority.
string | $eventName | The name of the event |
Implements Symfony\Component\EventDispatcher\EventDispatcherInterface.
Definition at line 71 of file lib/vendor/symfony/event-dispatcher/ImmutableEventDispatcher.php.
Symfony\Component\EventDispatcher\ImmutableEventDispatcher::getListeners | ( | $eventName = null | ) |
{Gets the listeners of a specific event or all listeners sorted by descending priority.
string | $eventName | The name of the event |
Implements Symfony\Component\EventDispatcher\EventDispatcherInterface.
Definition at line 71 of file vendor/symfony/event-dispatcher/ImmutableEventDispatcher.php.
Symfony\Component\EventDispatcher\ImmutableEventDispatcher::hasListeners | ( | $eventName = null | ) |
{Checks whether an event has any registered listeners.
string | $eventName | The name of the event |
Implements Symfony\Component\EventDispatcher\EventDispatcherInterface.
Definition at line 87 of file vendor/symfony/event-dispatcher/ImmutableEventDispatcher.php.
Symfony\Component\EventDispatcher\ImmutableEventDispatcher::hasListeners | ( | $eventName = null | ) |
{Checks whether an event has any registered listeners.
string | $eventName | The name of the event |
Implements Symfony\Component\EventDispatcher\EventDispatcherInterface.
Definition at line 87 of file lib/vendor/symfony/event-dispatcher/ImmutableEventDispatcher.php.
Symfony\Component\EventDispatcher\ImmutableEventDispatcher::removeListener | ( | $eventName, | |
$listener | |||
) |
{Removes an event listener from the specified events.
string | $eventName | The event to remove a listener from |
callable | $listener | The listener to remove |
Implements Symfony\Component\EventDispatcher\EventDispatcherInterface.
Definition at line 55 of file lib/vendor/symfony/event-dispatcher/ImmutableEventDispatcher.php.
Symfony\Component\EventDispatcher\ImmutableEventDispatcher::removeListener | ( | $eventName, | |
$listener | |||
) |
{Removes an event listener from the specified events.
string | $eventName | The event to remove a listener from |
callable | $listener | The listener to remove |
Implements Symfony\Component\EventDispatcher\EventDispatcherInterface.
Definition at line 55 of file vendor/symfony/event-dispatcher/ImmutableEventDispatcher.php.
Symfony\Component\EventDispatcher\ImmutableEventDispatcher::removeSubscriber | ( | EventSubscriberInterface | $subscriber | ) |
{}
Implements Symfony\Component\EventDispatcher\EventDispatcherInterface.
Definition at line 63 of file vendor/symfony/event-dispatcher/ImmutableEventDispatcher.php.
Symfony\Component\EventDispatcher\ImmutableEventDispatcher::removeSubscriber | ( | EventSubscriberInterface | $subscriber | ) |
{}
Implements Symfony\Component\EventDispatcher\EventDispatcherInterface.
Definition at line 63 of file lib/vendor/symfony/event-dispatcher/ImmutableEventDispatcher.php.