| Conditions | 3 | 
| Paths | 4 | 
| Total Lines | 12 | 
| Code Lines | 7 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php | ||
| 58 | public function parseCommand() | ||
| 59 |     { | ||
| 60 | $className = isset($this->argv[1]) ? $this->argv[1] : get_class($this->commands[0]); | ||
| 61 | $className = $this->parseClassName($className); | ||
| 62 | |||
| 63 | $command = $this->getCommand($className); | ||
| 64 |         if (!$command) { | ||
| 65 |             throw new \Exception('Command not found'); | ||
| 66 | } | ||
| 67 | |||
| 68 | $this->command = $command; | ||
| 69 | } | ||
| 70 | |||
| 96 | } |