EnumServiceProvider   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 12
ccs 4
cts 4
cp 1
rs 10
c 0
b 0
f 0

1 Method

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