mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-01 17:00:51 +00:00
c770707831
278cd56de5
Bump min to PHP 7.2 (#1955)
22 lines
453 B
PHP
22 lines
453 B
PHP
<?php
|
|
|
|
declare (strict_types=1);
|
|
namespace RectorPrefix20220324\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);
|
|
}
|