1: | <?php declare(strict_types=1); |
2: | |
3: | namespace Salient\Contract\Core\Event; |
4: | |
5: | use Psr\EventDispatcher\EventDispatcherInterface as PsrEventDispatcherInterface; |
6: | use Salient\Contract\Core\HasName; |
7: | use Salient\Contract\Core\Instantiable; |
8: | |
9: | |
10: | |
11: | |
12: | interface EventDispatcherInterface extends |
13: | PsrEventDispatcherInterface, |
14: | EventListenerProviderInterface, |
15: | Instantiable |
16: | { |
17: | |
18: | |
19: | |
20: | |
21: | |
22: | |
23: | |
24: | |
25: | |
26: | |
27: | |
28: | |
29: | public function dispatch(object $event): object; |
30: | } |
31: | |