sarga/app/Providers/AuthServiceProvider.php

29 lines
566 B
PHP
Raw Normal View History

2018-06-12 04:34:00 +00:00
<?php
namespace App\Providers;
use Illuminate\Support\Facades\Gate;
use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;
class AuthServiceProvider extends ServiceProvider
{
/**
* The policy mappings for the application.
*
* @var array
*/
protected $policies = [
2020-12-15 14:06:24 +00:00
// 'App\Model' => 'App\Policies\ModelPolicy',
2018-06-12 04:34:00 +00:00
];
/**
* Register any authentication / authorization services.
*
* @return void
*/
public function boot()
{
$this->registerPolicies();
}
}