| Total Complexity | 4 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | class StatsCommand extends Command |
||
| 9 | { |
||
| 10 | protected function configure(): void |
||
| 11 | { |
||
| 12 | parent::configure(); |
||
| 13 | |||
| 14 | $this |
||
| 15 | ->setName('stats') |
||
| 16 | ->setDescription('Shows statistical information about the queue') |
||
| 17 | ; |
||
| 18 | } |
||
| 19 | |||
| 20 | protected function execute(InputInterface $input, OutputInterface $output): void |
||
| 28 | } |
||
| 29 | |||
| 30 | private static function buildLine(array $stats): string |
||
| 38 | } |
||
| 39 | } |
||
| 40 |