Kernel.php 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <?php
  2. namespace App\Http;
  3. use Illuminate\Foundation\Http\Kernel as HttpKernel;
  4. class Kernel extends HttpKernel
  5. {
  6. /**
  7. * The application's global HTTP middleware stack.
  8. *
  9. * @var array<int, class-string|string>
  10. */
  11. protected $middleware = [
  12. // ... existing code ...
  13. ];
  14. /**
  15. * The application's route middleware groups.
  16. *
  17. * @var array<string, array<int, class-string|string>>
  18. */
  19. protected $middlewareGroups = [
  20. 'web' => [
  21. // ... existing code ...
  22. ],
  23. 'api' => [
  24. // ... existing code ...
  25. ],
  26. ];
  27. /**
  28. * The application's middleware aliases.
  29. *
  30. * @var array<string, class-string|string>
  31. */
  32. protected $middlewareAliases = [
  33. // ... existing code ...
  34. ];
  35. /**
  36. * The bootstrap classes for the application.
  37. *
  38. * @var array
  39. */
  40. protected $bootstrappers = [
  41. \Illuminate\Foundation\Bootstrap\LoadEnvironmentVariables::class,
  42. \Illuminate\Foundation\Bootstrap\LoadConfiguration::class,
  43. \Illuminate\Foundation\Bootstrap\HandleExceptions::class,
  44. \Illuminate\Foundation\Bootstrap\RegisterFacades::class,
  45. \Illuminate\Foundation\Bootstrap\RegisterProviders::class,
  46. \Illuminate\Foundation\Bootstrap\BootProviders::class
  47. ];
  48. /**
  49. * The application's route middleware.
  50. *
  51. * These middleware may be assigned to groups or used individually.
  52. *
  53. * @var array<string, class-string|string>
  54. */
  55. protected $routeMiddleware = [
  56. // ... existing middleware ...
  57. ];
  58. }