mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-07 11:50:51 +00:00
3c5f7a4dd4
eed1dca02b
[DX] remove branch alias to avoid miss-versioning, use specific tag instead (#4715)
23 lines
651 B
PHP
23 lines
651 B
PHP
<?php
|
|
|
|
declare (strict_types=1);
|
|
/*
|
|
* This file is part of Evenement.
|
|
*
|
|
* (c) Igor Wiedler <igor@wiedler.ch>
|
|
*
|
|
* For the full copyright and license information, please view the LICENSE
|
|
* file that was distributed with this source code.
|
|
*/
|
|
namespace RectorPrefix202308\Evenement;
|
|
|
|
interface EventEmitterInterface
|
|
{
|
|
public function on($event, callable $listener);
|
|
public function once($event, callable $listener);
|
|
public function removeListener($event, callable $listener);
|
|
public function removeAllListeners($event = null);
|
|
public function listeners($event = null);
|
|
public function emit($event, array $arguments = []);
|
|
}
|