Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
| 1 | <?php |
| 2 | |
| 3 | namespace Dynart\Micro; |
| 4 | |
| 5 | interface EventServiceInterface { |
| 6 | public function subscribeWithRef(string $event, &$callable): void; |
| 7 | public function subscribe(string $event, mixed $callable): void; |
| 8 | public function unsubscribe(string $event, &$callable): bool; |
| 9 | public function emit(string $event, array $args = []): void; |
| 10 | } |