Files
w4rpservices/app/Providers/AuthServiceProvider.php

31 lines
695 B
PHP

<?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 = [
'App\Model' => 'App\Policies\ModelPolicy',
];
/**
* Register any authentication / authorization services.
* These gates will always choose the highest roles
* We use gates in some of the graphics, but will work to utilize if statements instead shortly
*
* @return void
*/
public function boot()
{
//
}
}