PHP Classes

File: server/app/Providers/AuthServiceProvider.php

Recommend this page to a friend!
  Classes of mohammad anzawi   PHP Wallet API and Application   server/app/Providers/AuthServiceProvider.php   Download  
File: server/app/Providers/AuthServiceProvider.php
Role: Class source
Content type: text/plain
Description: Class source
Class: PHP Wallet API and Application
Application to manage a wallet by calling an API
Author: By
Last change:
Date: 2 years ago
Size: 585 bytes
 

Contents

Class file image Download
<?php

namespace App\Providers;

use
Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;
use
Illuminate\Support\Facades\Gate;

class
AuthServiceProvider extends ServiceProvider
{
   
/**
     * The policy mappings for the application.
     *
     * @var array
     */
   
protected $policies = [
       
// 'App\Models\Model' => 'App\Policies\ModelPolicy',
   
];

   
/**
     * Register any authentication / authorization services.
     *
     * @return void
     */
   
public function boot()
    {
       
$this->registerPolicies();

       
//
   
}
}