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