| Code Coverage
| Classes and Traits | Functions and Methods | Lines
Total |  | n/a | 0 / 0 |  | n/a | 0 / 0 | CRAP |  | n/a | 0 / 0
Kernel |  | n/a | 0 / 0 |  | n/a | 0 / 0 | 0 |  | n/a | 0 / 0

1 | <?php
2 |
3 | namespace App\Http;
4 |
5 | use Illuminate\Foundation\Http\Kernel as HttpKernel;
6 |
7 | class Kernel extends HttpKernel
8 | {
9 | /**
10 | * The application's global HTTP middleware stack.
11 | *
12 | * These middleware are run during every request to your application.
13 | *
14 | * @var array
15 | */
16 | protected $middleware = [
17 | \App\Http\Middleware\CheckForMaintenanceMode::class,
18 | \Illuminate\Foundation\Http\Middleware\ValidatePostSize::class,
19 | \App\Http\Middleware\TrimStrings::class,
20 | \Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull::class,
21 | \App\Http\Middleware\TrustProxies::class,
22 | ];
23 |
24 | /**
25 | * The application's route middleware groups.
26 | *
27 | * @var array
28 | */
29 | protected $middlewareGroups = [
30 | 'web' => [
31 | \App\Http\Middleware\EncryptCookies::class,
32 | \Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class,
33 | \Illuminate\Session\Middleware\StartSession::class,
34 | // \Illuminate\Session\Middleware\AuthenticateSession::class,
35 | \Illuminate\View\Middleware\ShareErrorsFromSession::class,
36 | \App\Http\Middleware\VerifyCsrfToken::class,
37 | \Illuminate\Routing\Middleware\SubstituteBindings::class,
38 | ],
39 |
40 | 'api' => [
41 | // 'throttle:60,1',
42 | 'bindings',
43 | ],
44 | 'apiLocal' => [
45 | \App\Http\Middleware\EncryptCookies::class,
46 | \Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class,
47 | \Illuminate\Session\Middleware\StartSession::class,
48 | \Illuminate\View\Middleware\ShareErrorsFromSession::class,
49 | \Illuminate\Routing\Middleware\SubstituteBindings::class,
50 | ],
51 | ];
52 |
53 | /**
54 | * The application's route middleware.
55 | *
56 | * These middleware may be assigned to groups or used individually.
57 | *
58 | * @var array
59 | */
60 | protected $routeMiddleware = [
61 | 'auth' => \App\Http\Middleware\Authenticate::class,
62 | 'auth.basic' => \Illuminate\Auth\Middleware\AuthenticateWithBasicAuth::class,
63 | 'bindings' => \Illuminate\Routing\Middleware\SubstituteBindings::class,
64 | 'cache.headers' => \Illuminate\Http\Middleware\SetCacheHeaders::class,
65 | 'can' => \Illuminate\Auth\Middleware\Authorize::class,
66 | 'guest' => \App\Http\Middleware\RedirectIfAuthenticated::class,
67 | 'signed' => \Illuminate\Routing\Middleware\ValidateSignature::class,
68 | 'throttle' => \Illuminate\Routing\Middleware\ThrottleRequests::class,
69 | 'verified' => \Illuminate\Auth\Middleware\EnsureEmailIsVerified::class,
70 | ];
71 |
72 | /**
73 | * The priority-sorted list of middleware.
74 | *
75 | * This forces non-global middleware to always be in the given order.
76 | *
77 | * @var array
78 | */
79 | protected $middlewarePriority = [
80 | \Illuminate\Session\Middleware\StartSession::class,
81 | \Illuminate\View\Middleware\ShareErrorsFromSession::class,
82 | \App\Http\Middleware\Authenticate::class,
83 | \Illuminate\Session\Middleware\AuthenticateSession::class,
84 | \Illuminate\Routing\Middleware\SubstituteBindings::class,
85 | \Illuminate\Auth\Middleware\Authorize::class,
86 | ];
87 | }