Passed
Branch master (e96466)
by Chubarov
03:06
created

ActionsServiceProviders::register()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 6
CRAP Score 1

Importance

Changes 0
Metric Value
cc 1
eloc 5
nc 1
nop 0
dl 0
loc 7
ccs 6
cts 6
cp 1
crap 1
rs 9.4285
c 0
b 0
f 0
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
}