| Conditions | 2 |
| Paths | 2 |
| Total Lines | 17 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 30 | public function handle() |
||
| 31 | { |
||
| 32 | try { |
||
| 33 | Artisan::call('route:cache'); |
||
| 34 | } catch (\LogicException $e) { |
||
| 35 | $this->warn('Routes couldn\'t be cached because of Closure.'); |
||
| 36 | $this->error($e->getMessage()); |
||
| 37 | } |
||
| 38 | |||
| 39 | Artisan::call('vendor:publish', [ |
||
| 40 | '--provider' => 'Mtolhuys\LaravelSchematics\LaravelSchematicsServiceProvider', |
||
| 41 | '--force' => true, |
||
| 42 | ]); |
||
| 43 | |||
| 44 | |||
| 45 | $this->comment(Artisan::output()); |
||
| 46 | } |
||
| 47 | } |
||
| 48 |