ClientServiceProvider   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

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