app/Webtrees.php
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,
        ];
    }
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,
        ];
    }
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 , ] ; }
The webtrees application is built from middleware.

@return string[]
The webtrees application is built from middleware .