Completed
Pull Request — master (#5)
by Evgenii
03:43
created

EnumServiceProvider   A

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 5
cts 5
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 6
    public function register()
14
    {
15 6
        $this->commands([
16 6
            EnumMakeCommand::class,
17 2
        ]);
18 6
    }
19
}
20