| Conditions | 2 |
| Paths | 2 |
| Total Lines | 11 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 6 |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 30 | protected function execute(InputInterface $input, OutputInterface $output) |
||
| 31 | { |
||
| 32 | $translations = $this->translations(); |
||
| 33 | |||
| 34 | $output->writeln("<info>Available translations. (For usage, you can use short form, example: </info>en <info>instead of</info> en.sahih <info>)</info>"); |
||
| 35 | foreach($translations as $translation){ |
||
| 36 | $output->writeln(" - <comment>$translation</comment>"); |
||
| 37 | } |
||
| 38 | |||
| 39 | $output->writeln(""); |
||
| 40 | } |
||
| 41 | |||
| 47 |