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