jonnybarnes.uk/app/Providers/AuthServiceProvider.php

31 lines
590 B
PHP
Raw Normal View History

2016-05-19 15:01:28 +01:00
<?php
namespace App\Providers;
use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;
2019-10-19 15:34:49 +01:00
use Illuminate\Support\Facades\Gate;
2016-05-19 15:01:28 +01:00
class AuthServiceProvider extends ServiceProvider
{
/**
* The policy mappings for the application.
*
* @var array
*/
protected $policies = [
// 'App\Model' => 'App\Policies\ModelPolicy',
2016-05-19 15:01:28 +01:00
];
/**
* Register any application authentication / authorization services.
*
* @return void
*/
2016-09-06 16:40:39 +01:00
public function boot()
2016-05-19 15:01:28 +01:00
{
2016-09-06 16:40:39 +01:00
$this->registerPolicies();
2016-05-19 15:01:28 +01:00
//
}
}