public function getPathUrl($repositoryId, $path, $selector = null)
    {
        if ($this->getRootUrl($repositoryId) === null) {
            return null;
        }

        $url = $this->buildUrl($this->getRootUrl($repositoryId));
        $url->getPath()->append($path);

        if (!empty($selector)) {
            $url->getQuery()->modify([Constants::PARAM_SELECTOR => $selector]);
        }

        return $url;
    }
public function getPathUrl($repositoryId, $path, $selector = null)
    {
        if ($this->getRootUrl($repositoryId) === null) {
            return null;
        }

        $url = $this->buildUrl($this->getRootUrl($repositoryId));
        $url->getPath()->append($path);

        if (!empty($selector)) {
            $url->getQuery()->modify([Constants::PARAM_SELECTOR => $selector]);
        }

        return $url;
    }
public function getPathUrl ( $ repositoryId , $ path , $ selector = null ) { if ( $ this -> getRootUrl ( $ repositoryId ) === null ) { return null ; } $ url = $ this -> buildUrl ( $ this -> getRootUrl ( $ repositoryId ) ) ; $ url -> getPath ( ) -> append ( $ path ) ; if ( ! empty ( $ selector ) ) { $ url -> getQuery ( ) -> modify ( [ Constants :: PARAM_SELECTOR => $ selector ] ) ; } return $ url ; }
Get Repository URL with given path

@param string $repositoryId
@param string $path
@param string|null $selector
@return Url
Get Repository URL with given path