original_string: protected function getRepository(array $pathInfo)
      {
          if ($pathInfo['host'] === PathInformationInterface::GLOBAL_PATH_HOST) {
              return $this->createRepositoryForPath($pathInfo['path']);
          } else {
              return $this->map->getRepository($pathInfo['host']);
          }
      }
code: protected function getRepository(array $pathInfo)
      {
          if ($pathInfo['host'] === PathInformationInterface::GLOBAL_PATH_HOST) {
              return $this->createRepositoryForPath($pathInfo['path']);
          } else {
              return $this->map->getRepository($pathInfo['host']);
          }
      }
code_tokens: protected function getRepository ( array $ pathInfo ) { if ( $ pathInfo [ 'host' ] === PathInformationInterface :: GLOBAL_PATH_HOST ) { return $ this -> createRepositoryForPath ( $ pathInfo [ 'path' ] ) ; } else { return $ this -> map -> getRepository ( $ pathInfo [ 'host' ] ) ; } }
docstring: Returns the repository for the given path information
  
  @param   array       $pathInfo       An array containing information about the path
  @return  RepositoryInterface
docstring_tokens: Returns the repository for the given path information