Page MenuHomeDevCentral

AuthServiceProvider.php
No OneTemporary

AuthServiceProvider.php

<?php
namespace App\Providers;
use Illuminate\Contracts\Auth\Access\Gate as GateContract;
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 application authentication / authorization services.
*
* @param \Illuminate\Contracts\Auth\Access\Gate $gate
* @return void
*/
public function boot(GateContract $gate)
{
$this->registerPolicies($gate);
//
}
}

File Metadata

Mime Type
text/x-php
Expires
Tue, May 5, 17:15 (4 h, 10 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3680498
Default Alt Text
AuthServiceProvider.php (693 B)

Event Timeline