public function getRepositoryInfo($repositoryId, ExtensionDataInterface $extension = null)
    {
        foreach ($this->getRepositoriesInternal($repositoryId) as $repositoryInfo) {
            if ($repositoryInfo->getId() === $repositoryId) {
                return $repositoryInfo;
            }
        }

        throw new CmisObjectNotFoundException(sprintf('Repository "%s" not found!', $repositoryId));
    }
public function getRepositoryInfo($repositoryId, ExtensionDataInterface $extension = null)
    {
        foreach ($this->getRepositoriesInternal($repositoryId) as $repositoryInfo) {
            if ($repositoryInfo->getId() === $repositoryId) {
                return $repositoryInfo;
            }
        }

        throw new CmisObjectNotFoundException(sprintf('Repository "%s" not found!', $repositoryId));
    }
public function getRepositoryInfo ( $ repositoryId , ExtensionDataInterface $ extension = null ) { foreach ( $ this -> getRepositoriesInternal ( $ repositoryId ) as $ repositoryInfo ) { if ( $ repositoryInfo -> getId ( ) === $ repositoryId ) { return $ repositoryInfo ; } } throw new CmisObjectNotFoundException ( sprintf ( 'Repository "%s" not found!' , $ repositoryId ) ) ; }
Returns information about the CMIS repository, the optional capabilities it
supports and its access control information if applicable.

@param string $repositoryId The identifier for the repository.
@param ExtensionDataInterface|null $extension
@throws CmisObjectNotFoundException
@return RepositoryInfoInterface
Returns information about the CMIS repository the optional capabilities it supports and its access control information if applicable .