Symfony\Cmf\Bundle\RoutingBundle\Admin\RouteAdmin::setRouteRoot PHP Метод

setRouteRoot() публичный Метод

public setRouteRoot ( $routeRoot )
    public function setRouteRoot($routeRoot)
    {
        // make limitation on base path work
        parent::setRootPath($routeRoot);
        // TODO: fix widget to show root node when root is selectable
        // https://github.com/sonata-project/SonataDoctrinePhpcrAdminBundle/issues/148
        $this->routeRoot = PathHelper::getParentPath($routeRoot);
    }