original_string: protected function loadMapFromFile($location)
      {
          if (!file_exists($location)) {
  
              throw new Zend_Loader_Exception_InvalidArgumentException('Map file provided does not exist');
          }
  
          if (!$path = self::realPharPath($location)) {
              $path = realpath($location);
          }
  
          if (in_array($path, $this->mapsLoaded)) {
              // Already loaded this map
              return $this;
          }
  
          $map = include $path;
  
          return $map;
      }
code: protected function loadMapFromFile($location)
      {
          if (!file_exists($location)) {
  
              throw new Zend_Loader_Exception_InvalidArgumentException('Map file provided does not exist');
          }
  
          if (!$path = self::realPharPath($location)) {
              $path = realpath($location);
          }
  
          if (in_array($path, $this->mapsLoaded)) {
              // Already loaded this map
              return $this;
          }
  
          $map = include $path;
  
          return $map;
      }
code_tokens: protected function loadMapFromFile ( $ location ) { if ( ! file_exists ( $ location ) ) { throw new Zend_Loader_Exception_InvalidArgumentException ( 'Map file provided does not exist' ) ; } if ( ! $ path = self :: realPharPath ( $ location ) ) { $ path = realpath ( $ location ) ; } if ( in_array ( $ path , $ this -> mapsLoaded ) ) { // Already loaded this map return $ this ; } $ map = include $ path ; return $ map ; }
docstring: Load a map from a file
  
  If the map has been previously loaded, returns the current instance;
  otherwise, returns whatever was returned by calling include() on the
  location.
  
  @param  string $location
  @return Zend_Loader_ClassMapAutoloader|mixed
  @throws Zend_Loader_Exception_InvalidArgumentException for nonexistent locations
docstring_tokens: Load a map from a file