| Conditions | 3 |
| Paths | 2 |
| Total Lines | 16 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 32 | public function handle($input = null, $output = null) |
||
| 33 | { |
||
| 34 | $application = new Application(); |
||
| 35 | |||
| 36 | $this->registerCommands($application); |
||
| 37 | |||
| 38 | if ($input && $output) { |
||
| 39 | $this->validateCommand($application, $input); |
||
| 40 | |||
| 41 | $application->setAutoExit(false); |
||
| 42 | |||
| 43 | return $application->run($input, $output); |
||
| 44 | } |
||
| 45 | |||
| 46 | $application->run(); |
||
| 47 | } |
||
| 48 | |||
| 69 |