Passed
Push — master ( 0e655c...3ea164 )
by Gabriel
02:06
created

MailPolicyServiceProvider::boot()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
eloc 1
c 1
b 0
f 1
dl 0
loc 3
rs 10
cc 1
nc 1
nop 0
1
<?php
2
3
namespace Giuga\LaravelMailLog;
4
5
use Giuga\LaravelMailLog\Models\MailLog;
6
use Giuga\LaravelMailLog\Policies\MailLogPolicy;
7
use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;
8
9
class MailPolicyServiceProvider extends ServiceProvider
10
{
11
    protected $policies = [
12
        MailLog::class => MailLogPolicy::class,
13
    ];
14
15
    /**
16
     * Bootstrap the application services.
17
     */
18
    public function boot()
19
    {
20
        $this->registerPolicies();
21
    }
22
}
23