Installer::handle()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
rs 10
c 1
b 0
f 0
1
<?php
2
3
namespace Digitonic\ApiTestSuite\Commands;
4
5
use Digitonic\ApiTestSuite\ApiTestSuiteServiceProvider;
6
use Illuminate\Console\Command;
7
use Illuminate\Support\Facades\Artisan;
8
9
class Installer extends Command
10
{
11
    /**
12
     * The name and signature of the console command.
13
     *
14
     * @var string
15
     */
16
    protected $signature = 'digitonic:api-test-suite:install';
17
18
    /**
19
     * The console command description.
20
     *
21
     * @var string
22
     */
23
    protected $description = 'Install digitonic apit test suite';
24
25
    public function handle()
26
    {
27
        Artisan::call('vendor:publish', ['--provider' => ApiTestSuiteServiceProvider::class]);
28
    }
29
}
30