public function getRepositoryUrl($repositoryId, $selector = null)
    {
        $baseUrl = $this->getRepositoryBaseUrl($repositoryId);
        if ($baseUrl === null) {
            return null;
        }
        $repositoryUrl = $this->buildUrl($baseUrl);

        if ($selector !== null && $selector !== '') {
            $repositoryUrl->getQuery()->modify([Constants::PARAM_SELECTOR => $selector]);
        }

        return $repositoryUrl;
    }
public function getRepositoryUrl($repositoryId, $selector = null)
    {
        $baseUrl = $this->getRepositoryBaseUrl($repositoryId);
        if ($baseUrl === null) {
            return null;
        }
        $repositoryUrl = $this->buildUrl($baseUrl);

        if ($selector !== null && $selector !== '') {
            $repositoryUrl->getQuery()->modify([Constants::PARAM_SELECTOR => $selector]);
        }

        return $repositoryUrl;
    }
public function getRepositoryUrl ( $ repositoryId , $ selector = null ) { $ baseUrl = $ this -> getRepositoryBaseUrl ( $ repositoryId ) ; if ( $ baseUrl === null ) { return null ; } $ repositoryUrl = $ this -> buildUrl ( $ baseUrl ) ; if ( $ selector !== null && $ selector !== '' ) { $ repositoryUrl -> getQuery ( ) -> modify ( [ Constants :: PARAM_SELECTOR => $ selector ] ) ; } return $ repositoryUrl ; }
Returns the repository URL of a repository.

@param string $repositoryId
@param string|null $selector add optional cmis selector parameter
@return Url|null
Returns the repository URL of a repository .