Total Complexity | 3 |
Total Lines | 27 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
14 | final class ListenCommand extends Command |
||
15 | { |
||
16 | protected static $defaultName = 'queue:listen'; |
||
17 | protected static $defaultDescription = 'Listens the queue and executes messages as they come. Needs to be stopped manually.'; |
||
18 | |||
19 | 2 | public function __construct(private QueueFactoryInterface $queueFactory) |
|
22 | } |
||
23 | |||
24 | 2 | public function configure(): void |
|
31 | 2 | ); |
|
32 | } |
||
33 | |||
34 | 1 | protected function execute(InputInterface $input, OutputInterface $output): int |
|
43 |