| Conditions | 4 | 
| Paths | 4 | 
| Total Lines | 23 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php | ||
| 30 | public function handle(): void | ||
| 31 |     { | ||
| 32 | parent::handle(); | ||
| 33 | |||
| 34 |         switch ($this->option('resource')) { | ||
| 35 | case 'lang': | ||
| 36 |                 $this->call('vendor:publish', ['--tag' => 'cortex-contacts-lang', '--force' => $this->option('force')]); | ||
| 37 | break; | ||
| 38 | case 'views': | ||
| 39 |                 $this->call('vendor:publish', ['--tag' => 'cortex-contacts-views', '--force' => $this->option('force')]); | ||
| 40 | break; | ||
| 41 | case 'migrations': | ||
| 42 |                 $this->call('vendor:publish', ['--tag' => 'cortex-contacts-migrations', '--force' => $this->option('force')]); | ||
| 43 | break; | ||
| 44 | default: | ||
| 45 |                 $this->call('vendor:publish', ['--tag' => 'cortex-contacts-lang', '--force' => $this->option('force')]); | ||
| 46 |                 $this->call('vendor:publish', ['--tag' => 'cortex-contacts-views', '--force' => $this->option('force')]); | ||
| 47 |                 $this->call('vendor:publish', ['--tag' => 'cortex-contacts-migrations', '--force' => $this->option('force')]); | ||
| 48 | break; | ||
| 49 | } | ||
| 50 | |||
| 51 |         $this->line(''); | ||
| 52 | } | ||
| 53 | } | ||
| 54 |