PHP Classes
elePHPant
Icontem

File: app/Providers/AuthServiceProvider.php

Recommend this page to a friend!
  Classes of Renato De Oliveira Lucena  >  PHP Pokemon Script  >  app/Providers/AuthServiceProvider.php  >  Download  
File: app/Providers/AuthServiceProvider.php
Role: Class source
Content type: text/plain
Description: Class source
Class: PHP Pokemon Script
Provides an API to manage a database of Pokemons
Author: By
Last change:
Date: 2 years ago
Size: 575 bytes
 

 

Contents

Class file image Download
<?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.
     *
     * @return void
     */
   
public function boot()
    {
       
$this->registerPolicies();

       
//
   
}
}