2022-08-31 09:18:53 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
namespace App\Providers;
|
|
|
|
|
|
|
|
|
|
use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;
|
|
|
|
|
|
|
|
|
|
class AuthServiceProvider extends ServiceProvider
|
|
|
|
|
{
|
|
|
|
|
/**
|
|
|
|
|
* The policy mappings for the application.
|
|
|
|
|
*
|
|
|
|
|
* @var array<class-string, class-string>
|
|
|
|
|
*/
|
|
|
|
|
protected $policies = [];
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Register any authentication / authorization services.
|
|
|
|
|
*
|
|
|
|
|
* @return void
|
|
|
|
|
*/
|
2024-02-05 09:33:08 +01:00
|
|
|
public function boot(): void
|
2022-08-31 09:18:53 +00:00
|
|
|
{
|
|
|
|
|
$this->registerPolicies();
|
|
|
|
|
}
|
|
|
|
|
}
|