<?php namespace App\Http;
use Illuminate\Foundation\Http\Kernel as HttpKernel;
class Kernel extends HttpKernel {
/**
* The application's global HTTP middleware stack.
*
* @var array
*/
protected $middleware = [
'Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode',
'Illuminate\Cookie\Middleware\EncryptCookies',
'Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse',
'Illuminate\Session\Middleware\StartSession',
'Illuminate\View\Middleware\ShareErrorsFromSession',
'App\Http\Middleware\VerifyCsrfToken',
];
* The application's route middleware.
protected $routeMiddleware = [
'ifReferent' => 'App\Http\Middleware\ifReferent',
'ifGuest' => 'App\Http\Middleware\ifGuest',
'ifAdmin' => 'App\Http\Middleware\ifAdmin',
'ifGuestWithRef' => 'App\Http\Middleware\ifGuestWithRef',
}