public function getUrlByRoutePath($route_path)
    {
        if (null === $url = $this->getRouteCollection()->getRoutePath($route_path)) {
            $url = '/';
        }

        return $url;
    }
public function getUrlByRoutePath($route_path)
    {
        if (null === $url = $this->getRouteCollection()->getRoutePath($route_path)) {
            $url = '/';
        }

        return $url;
    }
public function getUrlByRoutePath ( $ route_path ) { if ( null === $ url = $ this -> getRouteCollection ( ) -> getRoutePath ( $ route_path ) ) { $ url = '/' ; } return $ url ; }
Return the url to the provided route path.

@param string $route_path

@return string
Return the url to the provided route path .