Page MenuHomeDevCentral

AuthServiceProvider.php
No OneTemporary

AuthServiceProvider.php

<?php
namespace Nasqueron\Notifications\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 = [
'Nasqueron\Notifications\Model' => 'Nasqueron\Notifications\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, Jul 29, 13:49 (19 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2763950
Default Alt Text
AuthServiceProvider.php (753 B)

Event Timeline