| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 16 | public function execute(InputInterface $input, OutputInterface $output): int |
||
| 17 | { |
||
| 18 | $reflectionKernel = new ReflectionClass($this->kernel); |
||
| 19 | $commandLoaderReflection = $reflectionKernel->getProperty('commandLoader'); |
||
| 20 | /** @var CommandsLoader $commandLoader */ |
||
| 21 | $commandLoader = $commandLoaderReflection->getValue($this->kernel); |
||
| 22 | |||
| 23 | $output->writeln(array_keys($commandLoader->command)); |
||
| 24 | |||
| 25 | return self::SUCCESS; |
||
| 26 | } |
||
| 27 | } |