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