Installer   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 19
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 4
dl 0
loc 19
rs 10
c 1
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A handle() 0 3 1
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