yvoyer /
php-state
| 1 | <?php declare(strict_types=1); |
||
|
0 ignored issues
–
show
Coding Style
introduced
by
Loading history...
|
|||
| 2 | |||
| 3 | namespace Star\Component\State; |
||
| 4 | |||
| 5 | use Star\Component\State\Event\StateEvent; |
||
| 6 | |||
| 7 | interface EventRegistry |
||
|
0 ignored issues
–
show
|
|||
| 8 | { |
||
|
0 ignored issues
–
show
|
|||
| 9 | public function dispatch(string $name, StateEvent $event): void; |
||
|
0 ignored issues
–
show
|
|||
| 10 | |||
| 11 | public function addListener(string $event, callable $listener): void; |
||
|
0 ignored issues
–
show
|
|||
| 12 | } |
||
|
0 ignored issues
–
show
|
|||
| 13 |