1234567891011121314151617181920212223242526272829303132333435363738394041 |
- <?php namespace App\Http;
- use Exception;
- use Illuminate\Foundation\Http\Kernel as HttpKernel;
- class Kernel extends HttpKernel {
- /**
- * The application's HTTP middleware stack.
- *
- * @var array
- */
- protected $middleware = [
- 'App\Http\Middleware\MaintenanceMiddleware',
- 'Illuminate\Cookie\Middleware\Guard',
- 'Illuminate\Cookie\Middleware\Queue',
- 'Illuminate\Session\Middleware\Reader',
- 'Illuminate\Session\Middleware\Writer',
- 'Illuminate\View\Middleware\ErrorBinder',
- 'App\Http\Middleware\CsrfMiddleware',
- ];
- /**
- * Handle an incoming HTTP request.
- *
- * @param \Illuminate\Http\Request $request
- * @return \Illuminate\Http\Response
- */
- public function handle($request)
- {
- try
- {
- return parent::handle($request);
- }
- catch (Exception $e)
- {
- throw $e;
- }
- }
- }
|