AuthServiceProvider   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 23
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A boot() 0 6 1
1
<?php namespace JobApis\JobsToMail\Providers;
2
3
use Illuminate\Support\Facades\Gate;
4
use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;
5
6
class AuthServiceProvider extends ServiceProvider
7
{
8
    /**
9
     * The policy mappings for the application.
10
     *
11
     * @var array
12
     */
13
    protected $policies = [
14
        'JobApis\JobsToMail\Model' => 'JobApis\JobsToMail\Policies\ModelPolicy',
15
    ];
16
17
    /**
18
     * Register any authentication / authorization services.
19
     *
20
     * @return void
21
     */
22
    public function boot()
23
    {
24
        $this->registerPolicies();
25
26
        //
27
    }
28
}
29