Conditions | 3 |
Paths | 4 |
Total Lines | 16 |
Code Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php namespace GeneaLabs\LaravelImagery\Console\Commands; |
||
13 | public function handle() |
||
14 | { |
||
15 | if ($this->option('assets')) { |
||
16 | $this->delTree(public_path('genealabs-laravel-imagery')); |
||
17 | $this->call('vendor:publish', [ |
||
18 | '--provider' => LaravelImageryService::class, |
||
19 | '--tag' => ['assets'], |
||
20 | '--force' => true, |
||
21 | ]); |
||
22 | } |
||
23 | |||
24 | if ($this->option('config')) { |
||
25 | $this->call('vendor:publish', [ |
||
26 | '--provider' => LaravelImageryService::class, |
||
27 | '--tag' => ['config'], |
||
28 | '--force' => true, |
||
29 | ]); |
||
48 |