DelegatingDispatcher
Implements \Joomla\Event\DispatcherInterfaceA dispatcher delegating its methods to an other dispatcher.
final deprecated
since |
1.0 |
---|---|
deprecated |
2.0 Create your own delegating (decorating) dispatcher as needed. |
Methods
__construct
Constructor.
__construct(\Joomla\Event\DispatcherInterface $dispatcher)
triggerEvent
Trigger an event.
triggerEvent(\Joomla\Event\EventInterface|string $event) : \Joomla\Event\EventInterface
since |
1.0 |
---|
Arguments
- $event
\Joomla\Event\EventInterface|string
The event object or name.
Response
\Joomla\Event\EventInterface
The event after being passed through all listeners.