PageRenderTime 16ms CodeModel.GetById 13ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/app/Providers/AuthServiceProvider.php

https://bitbucket.org/mdoviedor/hotelium
PHP | 25 lines | 13 code | 4 blank | 8 comment | 0 complexity | 453967845003b8ea30898f592d0e75e3 MD5 | raw file
 1<?php
 2
 3namespace App\Providers;
 4
 5use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;
 6
 7class AuthServiceProvider extends ServiceProvider
 8{
 9    /**
10     * The policy mappings for the application.
11     *
12     * @var array
13     */
14    protected $policies = [
15        'App\Model' => 'App\Policies\ModelPolicy',
16    ];
17
18    /**
19     * Register any authentication / authorization services.
20     */
21    public function boot()
22    {
23        $this->registerPolicies();
24    }
25}