src/Admin/AbstractAdmin.php
private function buildRoutes(): void
    {
        if ($this->loaded['routes']) {
            return;
        }

        $this->loaded['routes'] = true;

        $this->routes = new RouteCollection(
            $this->getBaseCodeRoute(),
            $this->getBaseRouteName(),
            $this->getBaseRoutePattern(),
            $this->getBaseControllerName()
        );

        $this->routeBuilder->build($this, $this->routes);

        $this->configureRoutes($this->routes);

        foreach ($this->getExtensions() as $extension) {
            $extension->configureRoutes($this, $this->routes);
        }
    }
private function buildRoutes(): void
    {
        if ($this->loaded['routes']) {
            return;
        }

        $this->loaded['routes'] = true;

        $this->routes = new RouteCollection(
            $this->getBaseCodeRoute(),
            $this->getBaseRouteName(),
            $this->getBaseRoutePattern(),
            $this->getBaseControllerName()
        );

        $this->routeBuilder->build($this, $this->routes);

        $this->configureRoutes($this->routes);

        foreach ($this->getExtensions() as $extension) {
            $extension->configureRoutes($this, $this->routes);
        }
    }
private function buildRoutes ( ) : void { if ( $ this -> loaded [ 'routes' ] ) { return ; } $ this -> loaded [ 'routes' ] = true ; $ this -> routes = new RouteCollection ( $ this -> getBaseCodeRoute ( ) , $ this -> getBaseRouteName ( ) , $ this -> getBaseRoutePattern ( ) , $ this -> getBaseControllerName ( ) ) ; $ this -> routeBuilder -> build ( $ this , $ this -> routes ) ; $ this -> configureRoutes ( $ this -> routes ) ; foreach ( $ this -> getExtensions ( ) as $ extension ) { $ extension -> configureRoutes ( $ this , $ this -> routes ) ; } }
Build all the related urls to the current admin.
Build all the related urls to the current admin .