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