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

AuthenticationServiceProvider   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 1
Metric Value
dl 0
loc 8
ccs 3
cts 3
cp 1
rs 10
c 1
b 0
f 1
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
use agoalofalife\bpm\Assistants\CookieAuthentication;
5
use agoalofalife\bpm\Contracts\Authentication;
6
use agoalofalife\bpm\Contracts\ServiceProvider;
7
8
class AuthenticationServiceProvider implements ServiceProvider
9
{
10
11 23
    public function register()
12
    {
13 23
        app()->bind(Authentication::class, CookieAuthentication::class);
14
    }
15
}