Passed
Push — master ( e47c8e...e58eed )
by Keoghan
07:56
created

Install::handle()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 1
c 1
b 0
f 0
dl 0
loc 3
ccs 2
cts 2
cp 1
rs 10
cc 1
nc 1
nop 0
crap 1
1
<?php
2
3
namespace App\Commands\DockerSync;
4
5
use App\Commands\BaseCommand;
6
use App\Support\DockerSync\DockerSync;
7
8
class Install extends BaseCommand
9
{
10
    /**
11
     * The signature of the command.
12
     *
13
     * @var string
14
     */
15
    protected $signature = 'docker-sync:install';
16
17
    /**
18
     * The description of the command.
19
     *
20
     * @var string
21
     */
22
    protected $description = 'Install docker sync (mac only)';
23
24
    /**
25
     * Execute the console command.
26
     *
27
     * @return void
28
     */
29 1
    public function handle(): void
30
    {
31 1
        app(DockerSync::class)->install();
32 1
    }
33
}
34