DelegatingDispatcher

Implements DispatcherInterface

A dispatcher delegating its methods to an other dispatcher.

final deprecated
since

1.0

deprecated

2.0 Create your own delegating (decorating) dispatcher as needed.

package

Joomla Framework

Methods

__construct

Constructor.

__construct(\Joomla\Event\DispatcherInterface dispatcher) : mixed
since

1.0

Arguments

dispatcher

\Joomla\Event\DispatcherInterfaceThe delegated dispatcher.

Response

mixed

triggerEvent

Trigger an event.

triggerEvent(\Joomla\Event\EventInterface|string event) : \Joomla\Event\EventInterface
since

1.0

Arguments

event

\Joomla\Event\EventInterface|stringThe event object or name.

Response

\Joomla\Event\EventInterfaceThe event after being passed through all listeners.

Properties

dispatcher

The delegated dispatcher.

since

1.0

Type(s)

\Joomla\Event\DispatcherInterface