<?php namespace App\Providers; // use Illuminate\Support\Facades\Gate; use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider; class AuthServiceProvider extends ServiceProvider { /** * The model to policy mappings for the application. * * @var array<class-string, class-string> */ protected $policies = [ // 'App\Models\Model' => 'App\Policies\ModelPolicy', ]; /** * Register any authentication / authorization services. */ public function boot(): void { // } }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
AppServiceProvider.php | File | 361 B | 0644 |
|
AuthServiceProvider.php | File | 568 B | 0644 |
|
BroadcastServiceProvider.php | File | 359 B | 0644 |
|
EventServiceProvider.php | File | 884 B | 0644 |
|
RouteServiceProvider.php | File | 1.42 KB | 0644 |
|