<?phpdeclare(strict_types=1);namespacePsr\EventDispatcher;/** * Defines a dispatcher for events. */interfaceEventDispatcherInterface{/** * Provide all relevant listeners with an event to process. * * @param object $event * The object to process. * * @return object * The Event that was passed, now modified by listeners. */publicfunctiondispatch(object$event);}