Completed
Push — master ( 9a4fb7...cb90a4 )
by Chubarov
04:11
created

HandlerServiceProvider   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
dl 0
loc 9
ccs 4
cts 4
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 5 1
1
<?php
2
namespace agoalofalife\bpm\ServiceProviders;
3
4
5
use agoalofalife\bpm\Contracts\ServiceProvider;
6
use agoalofalife\bpm\Handlers\JsonHandler;
7
use agoalofalife\bpm\Handlers\XmlHandler;
8
9
10
class HandlerServiceProvider implements ServiceProvider
11
{
12
13 1
    public function register()
14
    {
15 1
        app()->bind(JsonHandler::class, JsonHandler::class);
16 1
        app()->bind(XmlHandler::class, XmlHandler::class);
17
    }
18
}