Passed
Push — master ( 1dc943...5f0a93 )
by Arthur
08:24 queued 35s
created

AuthorizationServiceProvider   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 4
dl 0
loc 12
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A register() 0 5 1
1
<?php
2
3
namespace Modules\Authorization\Providers;
4
5
use Illuminate\Support\ServiceProvider;
6
use Modules\Authorization\Contracts\AuthorizationContract;
7
use Modules\Authorization\Services\AuthorizationService;
8
9
class AuthorizationServiceProvider extends ServiceProvider
10
{
11
    /**
12
     * Register the service provider.
13
     *
14
     * @return void
15
     */
16
    public function register()
17
    {
18
        $this->app->bind(
19
            AuthorizationContract::class,
20
            AuthorizationService::class
21
        );
22
    }
23
}
24