ActionsServiceProviders   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A register() 0 7 1
1
<?php
2
namespace agoalofalife\bpm\ServiceProviders;
3
4
5
use agoalofalife\bpm\Actions\Create;
6
use agoalofalife\bpm\Actions\Delete;
7
use agoalofalife\bpm\Actions\Read;
8
use agoalofalife\bpm\Actions\Update;
9
use agoalofalife\bpm\Contracts\ServiceProvider;
10
11
class ActionsServiceProviders implements ServiceProvider
12
{
13
14 23
    public function register()
15
    {
16 23
       app()->bind(Read::class,   Read::class);
17 23
       app()->bind(Create::class, Create::class);
18 23
       app()->bind(Update::class, Update::class);
19 23
       app()->bind(Delete::class, Delete::class);
20
    }
21
}