| Conditions | 1 |
| Paths | 1 |
| Total Lines | 25 |
| Code Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 4 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 18 | public function handle() |
||
| 19 | { |
||
| 20 | |||
| 21 | $this->alert('Updating Mongicommerce...'); |
||
| 22 | |||
| 23 | $this->info('Updating configuration...'); |
||
| 24 | |||
| 25 | $this->call('vendor:publish', [ |
||
| 26 | '--provider' => "Mongi\Mongicommerce\MongicommerceServiceProvider", |
||
| 27 | '--tag' => "config" |
||
| 28 | ]); |
||
| 29 | |||
| 30 | $this->info('Updating Admin Template'); |
||
| 31 | |||
| 32 | $this->call('vendor:publish', [ |
||
| 33 | '--provider' => "Mongi\Mongicommerce\MongicommerceServiceProvider", |
||
| 34 | '--tag' => "assets" |
||
| 35 | ]); |
||
| 36 | |||
| 37 | $this->call('vendor:publish', [ |
||
| 38 | '--provider' => "Mongi\Mongicommerce\MongicommerceServiceProvider", |
||
| 39 | '--tag' => "views" |
||
| 40 | ]); |
||
| 41 | |||
| 42 | $this->alert('Update successfully'); |
||
| 43 | } |
||
| 45 |