| Conditions | 3 | 
| Paths | 4 | 
| Total Lines | 20 | 
| Code Lines | 12 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 59 | protected function configure()  | 
            ||
| 60 |     { | 
            ||
| 61 | $signature = (new SignatureParser())->parse($this->signature);  | 
            ||
| 62 | |||
| 63 | $this->setName($signature['name']);  | 
            ||
| 64 | $this->setDescription($this->description);  | 
            ||
| 65 | |||
| 66 |         foreach ($signature['arguments'] as $argument) { | 
            ||
| 67 | $this->addArgument(  | 
            ||
| 68 | $argument['name'],  | 
            ||
| 69 | $argument['type'],  | 
            ||
| 70 | $argument['description'],  | 
            ||
| 71 | $argument['default']  | 
            ||
| 72 | );  | 
            ||
| 73 | }  | 
            ||
| 74 | |||
| 75 |         foreach ($signature['options'] as $option) { | 
            ||
| 76 | $this->addOption($option['name'], null, $option['type'], $option['description'], $option['default']);  | 
            ||
| 77 | }  | 
            ||
| 78 | }  | 
            ||
| 79 | |||
| 94 | }  |