Conditions | 3 |
Paths | 3 |
Total Lines | 19 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
30 | public function handle(): void |
||
31 | { |
||
32 | $this->alert($this->description); |
||
33 | |||
34 | switch ($this->option('resource')) { |
||
35 | case 'config': |
||
36 | $this->call('vendor:publish', ['--tag' => 'rinvex-bookings-config', '--force' => $this->option('force')]); |
||
37 | break; |
||
38 | case 'migrations': |
||
39 | $this->call('vendor:publish', ['--tag' => 'rinvex-bookings-migrations', '--force' => $this->option('force')]); |
||
40 | break; |
||
41 | default: |
||
42 | $this->call('vendor:publish', ['--tag' => 'rinvex-bookings-config', '--force' => $this->option('force')]); |
||
43 | $this->call('vendor:publish', ['--tag' => 'rinvex-bookings-migrations', '--force' => $this->option('force')]); |
||
44 | break; |
||
45 | } |
||
46 | |||
47 | $this->line(''); |
||
48 | } |
||
49 | } |
||
50 |