| Conditions | 3 | 
| Paths | 4 | 
| Total Lines | 11 | 
| Code Lines | 6 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php | ||
| 14 | public function configure(Command $command, \ReflectionClass $reflection): void | ||
| 15 |     { | ||
| 16 |         $command->setName($reflection->getConstant('NAME')); | ||
| 17 |         $command->setDescription((string) $reflection->getConstant('DESCRIPTION')); | ||
| 18 | |||
| 19 |         foreach ($reflection->getMethod('defineOptions')->invoke($command) as $option) { | ||
| 20 | \call_user_func_array([$command, 'addOption'], $option); | ||
| 21 | } | ||
| 22 | |||
| 23 |         foreach ($reflection->getMethod('defineArguments')->invoke($command) as $argument) { | ||
| 24 | \call_user_func_array([$command, 'addArgument'], $argument); | ||
| 25 | } | ||
| 33 |