Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
53 | public function execute(InputInterface $input, OutputInterface $output) |
||
54 | { |
||
55 | $this->jm->getEventDispatcher()->addSubscriber(new ConsoleSubscriber($output)); |
||
56 | |||
57 | $queues = array_map('trim', explode(',', $input->getOption('queues'))); |
||
58 | |||
59 | $worker = $this->jm->createWorkerBuilder()->usingMultipleQueues($queues)->build(); |
||
60 | $worker->run(); |
||
61 | } |
||
62 | } |