original_string: 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));
      }
code: 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));
      }
code_tokens: 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 ) ) ; }
docstring: 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
docstring_tokens: Returns information about the CMIS repository the optional capabilities it supports and its access control information if applicable .