Jelix 1.8.14-pre

EventDispatcher
in package
implements EventDispatcherInterface

The event dispatcher of Jelix

Tags

Interfaces, Classes and Traits

EventDispatcherInterface

Table of Contents

$listenerProvider  : ListenerProviderInterface
__construct()  : mixed
dispatch()  : object
Dispatch the given event object to all listeners which listen to this event

Properties

$listenerProvider

protected ListenerProviderInterface $listenerProvider
Tags

Methods

__construct()

public __construct(ListenerProviderInterface $listenerProvider) : mixed
Parameters
$listenerProvider : ListenerProviderInterface
Tags
Return values
mixed

dispatch()

Dispatch the given event object to all listeners which listen to this event

public dispatch(object $event) : object
Parameters
$event : object

the event object. It may implement StoppableEventInterface and EventInterface

Tags
Return values
object

the given event

Search results