WordPress\AiClientDependencies\Psr\EventDispatcher

EventDispatcherInterface::dispatchpublicWP 1.0

Provide all relevant listeners with an event to process.

Method of the class: EventDispatcherInterface{}

No Hooks.

Returns

Object . The Event that was passed, now modified by listeners.

Usage

$EventDispatcherInterface = new EventDispatcherInterface();
$EventDispatcherInterface->dispatch( $event );
$event(object) (required)
The object to process.

EventDispatcherInterface::dispatch() code WP 7.0

public function dispatch(object $event);