public function buildAll(): array
    {
        $builtRoutes = [];

        foreach ($this->routeBuilders as $routeBuilder) {
            $builtRoutes[] = $routeBuilder->build();
        }

        return $builtRoutes;
    }
public function buildAll(): array
    {
        $builtRoutes = [];

        foreach ($this->routeBuilders as $routeBuilder) {
            $builtRoutes[] = $routeBuilder->build();
        }

        return $builtRoutes;
    }
public function buildAll ( ) : array { $ builtRoutes = [ ] ; foreach ( $ this -> routeBuilders as $ routeBuilder ) { $ builtRoutes [ ] = $ routeBuilder -> build ( ) ; } return $ builtRoutes ; }
Builds all the route builders in the registry

@return Route[] The list of routes built by this registry
Builds all the route builders in the registry