All checks were successful
Build, Push and Deploy / build-and-push (push) Successful in 3m3s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 16s
Build, Push and Deploy / deploy-staging (push) Successful in 32s
Build, Push and Deploy / deploy-production (push) Has been skipped
Build, Push and Deploy / cleanup (push) Successful in 1s
22 lines
431 B
PHP
22 lines
431 B
PHP
<?php
|
|
declare(strict_types=1);
|
|
|
|
namespace Psr\EventDispatcher;
|
|
|
|
/**
|
|
* Defines a dispatcher for events.
|
|
*/
|
|
interface EventDispatcherInterface
|
|
{
|
|
/**
|
|
* 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.
|
|
*/
|
|
public function dispatch(object $event);
|
|
}
|