EnumServiceProvider::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 Nasyrov\Laravel\Enums;
4
5
use Illuminate\Support\ServiceProvider;
6
use Nasyrov\Laravel\Enums\Console\EnumMakeCommand;
7
8
class EnumServiceProvider extends ServiceProvider
9
{
10
    /**
11
     * Register any application services.
12
     */
13 8
    public function register()
14
    {
15 8
        $this->commands([
16 8
            EnumMakeCommand::class,
17
        ]);
18 8
    }
19
}
20