37 lines
604 B
PHP
37 lines
604 B
PHP
|
|
<?php namespace Providers;
|
||
|
|
|
||
|
|
use Illuminate\Routing\FilterServiceProvider as ServiceProvider;
|
||
|
|
|
||
|
|
class FilterServiceProvider extends ServiceProvider {
|
||
|
|
|
||
|
|
/**
|
||
|
|
* The filters that should run before all requests.
|
||
|
|
*
|
||
|
|
* @var array
|
||
|
|
*/
|
||
|
|
protected $before = [
|
||
|
|
'MaintenanceFilter',
|
||
|
|
];
|
||
|
|
|
||
|
|
/**
|
||
|
|
* The filters that should run after all requests.
|
||
|
|
*
|
||
|
|
* @var array
|
||
|
|
*/
|
||
|
|
protected $after = [
|
||
|
|
//
|
||
|
|
];
|
||
|
|
|
||
|
|
/**
|
||
|
|
* All available route filters.
|
||
|
|
*
|
||
|
|
* @var array
|
||
|
|
*/
|
||
|
|
protected $filters = [
|
||
|
|
'auth' => 'AuthFilter',
|
||
|
|
'auth.basic' => 'BasicAuthFilter',
|
||
|
|
'csrf' => 'CsrfFilter',
|
||
|
|
'guest' => 'GuestFilter',
|
||
|
|
];
|
||
|
|
|
||
|
|
}
|