| Conditions | 1 |
| Paths | 1 |
| Total Lines | 18 |
| Code Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 84 | public function execute(InputInterface $input, OutputInterface $output) |
||
| 85 | { |
||
| 86 | $this->bootstrap->app()->inputs($input); |
||
| 87 | $this->bootstrap->kernel(); |
||
| 88 | |||
| 89 | $ex = 0; |
||
| 90 | |||
| 91 | async(function () { |
||
| 92 | yield $this->getCommand()->execute($this->bootstrap); |
||
| 93 | })->catch(function (Throwable $e) use (&$ex) { |
||
| 94 | $ex = 1; |
||
| 95 | $this->failure($e); |
||
| 96 | $this->exits(); |
||
| 97 | }); |
||
| 98 | |||
| 99 | $this->loops(); |
||
| 100 | |||
| 101 | return $ex; |
||
| 102 | } |
||
| 104 |