Total Complexity | 5 |
Total Lines | 38 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
13 | abstract class AbstractEventBulkListener extends AbstractEventListener implements EventBulkListenerInterface |
||
14 | { |
||
15 | /** |
||
16 | * @param \Jellyfish\Event\EventInterface[] $events |
||
17 | * |
||
18 | * @return \Jellyfish\Event\EventBulkListenerInterface |
||
19 | * |
||
20 | * @throws \Jellyfish\Event\Exception\NotSupportedTypeException |
||
21 | */ |
||
22 | public function handleBulk(array $events): EventBulkListenerInterface |
||
39 | } |
||
40 | |||
41 | /** |
||
42 | * @param \Jellyfish\Event\EventInterface $event |
||
43 | * @return \Jellyfish\Event\EventListenerInterface |
||
44 | * |
||
45 | * @throws \Exception |
||
46 | */ |
||
47 | public function handle(EventInterface $event): EventListenerInterface |
||
54 |