| Conditions | 2 |
| Paths | 2 |
| Total Lines | 17 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 18 | protected function execute(InputInterface $input, OutputInterface $output): int |
||
| 19 | { |
||
| 20 | $this->initConfiguration($input->getOption('configFile')); |
||
| 21 | |||
| 22 | $logfiles = $this->config->getLogfiles(); |
||
| 23 | |||
| 24 | $table = new Table($output); |
||
| 25 | |||
| 26 | $table->setHeaders(['Name', 'File']); |
||
| 27 | |||
| 28 | foreach ($logfiles as $row) { |
||
| 29 | $table->addRow([$row['name'], $row['file']]); |
||
| 30 | } |
||
| 31 | |||
| 32 | $table->render(); |
||
| 33 | |||
| 34 | return Command::SUCCESS; |
||
| 35 | } |
||
| 37 |