Files
spa-api/app/Providers/AuthServiceProvider.php

31 lines
613 B
PHP
Raw Normal View History

2015-08-29 20:27:18 -05:00
<?php
namespace App\Providers;
use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;
2019-09-10 17:26:00 +02:00
use Illuminate\Support\Facades\Gate;
2015-08-29 20:27:18 -05:00
class AuthServiceProvider extends ServiceProvider
{
/**
* The policy mappings for the application.
*
* @var array<class-string, class-string>
2015-08-29 20:27:18 -05:00
*/
protected $policies = [
// 'App\Models\Model' => 'App\Policies\ModelPolicy',
2015-08-29 20:27:18 -05:00
];
/**
2016-07-18 10:41:51 -05:00
* Register any authentication / authorization services.
2015-08-29 20:27:18 -05:00
*
* @return void
*/
2016-07-11 15:44:50 -05:00
public function boot()
2015-08-29 20:27:18 -05:00
{
2016-07-11 15:44:50 -05:00
$this->registerPolicies();
2015-08-29 20:27:18 -05:00
2015-08-30 07:31:25 -04:00
//
2015-08-29 20:27:18 -05:00
}
}