Total Complexity | 6 |
Total Lines | 41 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
10 | class EventQueueWorker implements EventQueueWorkerInterface |
||
11 | { |
||
12 | protected const DELAY_INTERVAL = 1000000; |
||
13 | |||
14 | /** |
||
15 | * @var \Jellyfish\Event\EventQueueConsumerInterface |
||
16 | */ |
||
17 | protected $eventQueueConsumer; |
||
18 | /** |
||
19 | * @var \Jellyfish\Event\EventListenerProviderInterface |
||
20 | */ |
||
21 | protected $eventListenerProvider; |
||
22 | |||
23 | /** |
||
24 | * @param \Jellyfish\Event\EventListenerProviderInterface $eventListenerProvider |
||
25 | * @param \Jellyfish\Event\EventQueueConsumerInterface $eventQueueConsumer |
||
26 | */ |
||
27 | public function __construct( |
||
33 | } |
||
34 | |||
35 | /** |
||
36 | * @return void |
||
37 | */ |
||
38 | public function start(): void |
||
56 |