Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
CRAP
100.00% covered (success)
100.00%
1 / 1
AuthServiceProvider
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
100.00% covered (success)
100.00%
1 / 1
 boot
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
1<?php
2
3namespace App\Providers;
4
5use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;
6
7class AuthServiceProvider extends ServiceProvider
8{
9    /**
10     * The policy mappings for the application.
11     *
12     * @var array<class-string, class-string>
13     */
14    protected $policies = [
15        // 'App\Models\Model' => 'App\Policies\ModelPolicy',
16    ];
17
18    /**
19     * Register any authentication / authorization services.
20     *
21     * @return void
22     */
23    public function boot()
24    {
25        $this->registerPolicies();
26
27        //
28    }
29}