AuthServiceProvider::boot()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 6
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
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