EventDispatcher extends EventDispatcher

The admin panel event dispatcher records all dispatched events

Table of Contents

Properties

$dispatchedEvents  : array<string|int, object>
$listenerProvider  : ListenerProviderInterface

Methods

__construct()  : mixed
dispatch()  : object
getDispatchedEvents()  : array<string|int, mixed>

Properties

$dispatchedEvents

protected array<string|int, object> $dispatchedEvents = []

$listenerProvider read-only

protected ListenerProviderInterface $listenerProvider

Methods

__construct()

public __construct(ListenerProviderInterface $listenerProvider) : mixed
Parameters
$listenerProvider : ListenerProviderInterface

dispatch()

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

getDispatchedEvents()

public getDispatchedEvents() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results