| Total Complexity | 6 |
| Total Lines | 41 |
| Duplicated Lines | 0 % |
| Coverage | 45.45% |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class AuthServiceProvider extends ServiceProvider |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * {@inheritDoc} |
||
| 14 | * |
||
| 15 | * @var array<class-string, class-string> |
||
|
|
|||
| 16 | */ |
||
| 17 | protected $policies = [ |
||
| 18 | // 'App\Models\Model' => 'App\Policies\ModelPolicy', |
||
| 19 | ]; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Register any authentication / authorization services. |
||
| 23 | * |
||
| 24 | * @return void |
||
| 25 | */ |
||
| 26 | 99 | public function boot() |
|
| 31 | } |
||
| 32 | |||
| 33 | /** |
||
| 34 | * Set gate policy definition. |
||
| 35 | * |
||
| 36 | * @return void |
||
| 37 | */ |
||
| 38 | 99 | protected function defineGate() |
|
| 55 |