You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
431 B
21 lines
431 B
<?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); |
|
}
|
|
|