Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 7 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
25 | 1 | public function execute(InputInterface $input, OutputInterface $output) |
|
26 | { |
||
27 | /* @var $workerRunnerService WorkerRunnerManager */ |
||
28 | 1 | $workerRunnerService = $this->getContainer()->get('gendoria_command_queue.runner_manager'); |
|
29 | 1 | $runners = $workerRunnerService->getRunners(); |
|
30 | 1 | $runnersFormatted = array_map(array($this, 'formatRunnerName'), $runners); |
|
31 | 1 | $output->writeln('Registered workers:'); |
|
32 | 1 | $output->writeln($runnersFormatted); |
|
33 | 1 | } |
|
34 | |||
41 |