| Conditions | 3 | 
| Paths | 4 | 
| Total Lines | 14 | 
| Code Lines | 8 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php | ||
| 25 | public function configure(Command $command, \ReflectionClass $reflection): void | ||
| 26 |     { | ||
| 27 | $result = $this->parser->parse($reflection); | ||
| 28 | |||
| 29 | $command->setName($result->name); | ||
| 30 | $command->setDescription((string) $result->description); | ||
| 31 | $command->setHelp((string) $result->help); | ||
| 32 | |||
| 33 |         foreach ($result->options as $option) { | ||
| 34 | $command->getDefinition()->addOption($option); | ||
| 35 | } | ||
| 36 | |||
| 37 |         foreach ($result->arguments as $argument) { | ||
| 38 | $command->getDefinition()->addArgument($argument); | ||
| 39 | } | ||
| 42 |