| Conditions | 2 |
| Paths | 2 |
| Total Lines | 9 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | protected function execute(InputInterface $input, OutputInterface $output) |
||
| 18 | { |
||
| 19 | // @todo doctrine以外の対応 |
||
| 20 | $storage = $this->getContainer()->get('sqs_job_queue.storage.doctrine'); |
||
| 21 | |||
| 22 | foreach ($storage->all() as $worker) { |
||
| 23 | $output->writeln("queue: {$worker->getQueue()}, prefix: {$worker->getPrefix()}, server: {$worker->getServer()}, pid: {$worker->getProcId()}"); |
||
| 24 | } |
||
| 25 | } |
||
| 26 | } |