| Conditions | 1 |
| Paths | 1 |
| Total Lines | 17 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 16 | public function handle() |
||
| 17 | { |
||
| 18 | $this->info('Installing Mongicommerce...'); |
||
| 19 | |||
| 20 | $this->info('Publishing configuration...'); |
||
| 21 | |||
| 22 | $this->call('vendor:publish', [ |
||
| 23 | '--provider' => "Mongi\Mongicommerce\MongicommerceServiceProvider", |
||
| 24 | '--tag' => "config" |
||
| 25 | ]); |
||
| 26 | |||
| 27 | |||
| 28 | $this->info('Installig Tables'); |
||
| 29 | Artisan::call('migrate:refresh'); |
||
| 30 | $this->info('Installig Options'); |
||
| 31 | $this->call(DetailTypeSeeder::class); |
||
| 32 | $this->info('Terminate successfully'); |
||
| 33 | } |
||
| 35 |