| Conditions | 2 |
| Paths | 2 |
| Total Lines | 13 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 22 | protected function execute(InputInterface $input, OutputInterface $output) |
||
| 23 | { |
||
| 24 | $placers = PlacerFactory::getInstance()->getPlacersNames(); |
||
| 25 | $output->write('Available words placers: '); |
||
| 26 | |||
| 27 | if (!count($placers)) { |
||
| 28 | $output->writeln('none'); |
||
| 29 | return; |
||
| 30 | } |
||
| 31 | |||
| 32 | |||
| 33 | $output->writeln(join(', ', $placers)); |
||
| 34 | } |
||
| 35 | } |
||
| 36 |