*/ protected $middleware = [ // ... existing code ... ]; /** * The application's route middleware groups. * * @var array> */ protected $middlewareGroups = [ 'web' => [ // ... existing code ... ], 'api' => [ // ... existing code ... ], ]; /** * The application's middleware aliases. * * @var array */ protected $middlewareAliases = [ // ... existing code ... ]; /** * The bootstrap classes for the application. * * @var array */ protected $bootstrappers = [ \Illuminate\Foundation\Bootstrap\LoadEnvironmentVariables::class, \Illuminate\Foundation\Bootstrap\LoadConfiguration::class, \Illuminate\Foundation\Bootstrap\HandleExceptions::class, \Illuminate\Foundation\Bootstrap\RegisterFacades::class, \Illuminate\Foundation\Bootstrap\RegisterProviders::class, \Illuminate\Foundation\Bootstrap\BootProviders::class ]; /** * The application's route middleware. * * These middleware may be assigned to groups or used individually. * * @var array */ protected $routeMiddleware = [ // ... existing middleware ... ]; }