EnvExportServiceProvider::register()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 6

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 4
CRAP Score 1

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 0
dl 0
loc 6
ccs 4
cts 4
cp 1
crap 1
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace Djunehor\Env;
4
5
use Djunehor\Env\ExportCommand;
6
use Illuminate\Support\ServiceProvider;
7
8
class EnvExportServiceProvider extends ServiceProvider
9
{
10
11
12
    /**
13
     * Register the application services.
14
     *
15
     * @return void
16
     */
17 7
    public function register()
18
    {
19 7
        $this->commands([
20 7
            ExportCommand::class,
21
        ]);
22 7
    }
23
24
25
}
26