public function addRepository($repositoryId, $repositoryUrl, $rootUrl)
    {
        if (empty($repositoryId) || empty($repositoryUrl) || empty($rootUrl)) {
            throw new CmisInvalidArgumentException(
                'Repository Id or Repository URL or Root URL is not set!',
                1408536098
            );
        }

        $this->repositoryUrls[$repositoryId] = $repositoryUrl;
        $this->rootUrls[$repositoryId] = $rootUrl;
    }
public function addRepository($repositoryId, $repositoryUrl, $rootUrl)
    {
        if (empty($repositoryId) || empty($repositoryUrl) || empty($rootUrl)) {
            throw new CmisInvalidArgumentException(
                'Repository Id or Repository URL or Root URL is not set!',
                1408536098
            );
        }

        $this->repositoryUrls[$repositoryId] = $repositoryUrl;
        $this->rootUrls[$repositoryId] = $rootUrl;
    }
public function addRepository ( $ repositoryId , $ repositoryUrl , $ rootUrl ) { if ( empty ( $ repositoryId ) || empty ( $ repositoryUrl ) || empty ( $ rootUrl ) ) { throw new CmisInvalidArgumentException ( 'Repository Id or Repository URL or Root URL is not set!' , 1408536098 ) ; } $ this -> repositoryUrls [ $ repositoryId ] = $ repositoryUrl ; $ this -> rootUrls [ $ repositoryId ] = $ rootUrl ; }
Adds the URLs of a repository to the cache.

@param string $repositoryId
@param string $repositoryUrl
@param string $rootUrl
Adds the URLs of a repository to the cache .