public function middleware(): array
    {
        return [
            PhpEnvironment::class,
            EmitResponse::class,
            HandleExceptions::class,
            ReadConfigIni::class,
            UseDatabase::class,
            UseDebugbar::class,
            UpdateDatabaseSchema::class,
            UseCache::class,
            UseFilesystem::class,
            UseSession::class,
            UseTree::class,
            UseLocale::class,
            CheckForMaintenanceMode::class,
            UseTheme::class,
            DoHousekeeping::class,
            CheckCsrf::class,
            UseTransaction::class,
            BootModules::class,
            ModuleMiddleware::class,
            RequestRouter::class,
            NoRouteFound::class,
        ];
    }