hypothetical/app/Providers/AuthServiceProvider.php

31 lines
622 B
PHP
Raw Permalink Normal View History

2016-08-19 16:38:49 -04:00
<?php
namespace App\Providers;
use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;
2019-10-31 17:24:53 -04:00
use Illuminate\Support\Facades\Gate;
2016-08-19 16:38:49 -04:00
class AuthServiceProvider extends ServiceProvider
{
/**
2022-05-23 21:01:33 -04:00
* The model to policy mappings for the application.
2016-08-19 16:38:49 -04:00
*
2022-05-23 21:01:33 -04:00
* @var array<class-string, class-string>
2016-08-19 16:38:49 -04:00
*/
protected $policies = [
// 'App\Models\Model' => 'App\Policies\ModelPolicy',
2016-08-19 16:38:49 -04:00
];
/**
* Register any authentication / authorization services.
*
* @return void
*/
public function boot()
{
$this->registerPolicies();
//
}
}