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()  : mixed
getDispatchedEvents()  : array<string|int, mixed>

Properties

$dispatchedEvents

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

$listenerProvider

protected ListenerProviderInterface $listenerProvider

Methods

__construct()

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

dispatch()

public dispatch(object $event) : mixed
Parameters
$event : object
Tags
inheritdoc

getDispatchedEvents()

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

        
On this page

Search results