| Conditions | 2 |
| Paths | 2 |
| Total Lines | 17 |
| Code Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 33 | protected function execute(InputInterface $input, OutputInterface $output) |
||
| 34 | { |
||
| 35 | $paths = $this->configuration->getPaths(); |
||
| 36 | |||
| 37 | if (empty($paths)) { |
||
| 38 | $output->writeln('<info>No paths set...</info>'); |
||
| 39 | |||
| 40 | return; |
||
| 41 | } |
||
| 42 | |||
| 43 | $table = new Table($output); |
||
| 44 | $table |
||
| 45 | ->setHeaders(['Path']) |
||
| 46 | ->setRows(array_map(function ($path) { |
||
| 47 | return [$path]; |
||
| 48 | }, $paths)); |
||
| 49 | $table->render(); |
||
| 50 | } |
||
| 52 |