hypothetical/app/Providers/AuthServiceProvider.php

31 lines
625 B
PHP
Raw Normal View History

2016-08-19 16:38:49 -04:00
<?php
namespace App\Providers;
2022-10-11 18:14:02 -04:00
// use Illuminate\Support\Facades\Gate;
2016-08-19 16:38:49 -04:00
use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;
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();
//
}
}