AppBuildAuthServiceProvider   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 26
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 1
dl 0
loc 26
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A register() 0 4 1
A boot() 0 4 1
1
<?php
2
3
namespace Faithgen\AppBuild\Providers;
4
5
use Faithgen\AppBuild\Models\Build;
6
use Faithgen\AppBuild\Policies\BuildPolicy;
7
use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;
8
9
class AppBuildAuthServiceProvider extends ServiceProvider
10
{
11
    protected $policies = [
12
        Build::class => BuildPolicy::class,
13
    ];
14
15
    /**
16
     * Register services.
17
     *
18
     * @return void
19
     */
20
    public function register()
21
    {
22
        //
23
    }
24
25
    /**
26
     * Bootstrap services.
27
     *
28
     * @return void
29
     */
30
    public function boot()
31
    {
32
        $this->registerPolicies();
33
    }
34
}
35