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