original_string: public function registerAutoloadMap($map)
      {
          if (is_string($map)) {
              $location = $map;
              if ($this === ($map = $this->loadMapFromFile($location))) {
                  return $this;
              }
          }
  
          if (!is_array($map)) {
  
              throw new Zend_Loader_Exception_InvalidArgumentException('Map file provided does not return a map');
          }
  
          $this->map = array_merge($this->map, $map);
  
          if (isset($location)) {
              $this->mapsLoaded[] = $location;
          }
  
          return $this;
      }
code: public function registerAutoloadMap($map)
      {
          if (is_string($map)) {
              $location = $map;
              if ($this === ($map = $this->loadMapFromFile($location))) {
                  return $this;
              }
          }
  
          if (!is_array($map)) {
  
              throw new Zend_Loader_Exception_InvalidArgumentException('Map file provided does not return a map');
          }
  
          $this->map = array_merge($this->map, $map);
  
          if (isset($location)) {
              $this->mapsLoaded[] = $location;
          }
  
          return $this;
      }
code_tokens: public function registerAutoloadMap ( $ map ) { if ( is_string ( $ map ) ) { $ location = $ map ; if ( $ this === ( $ map = $ this -> loadMapFromFile ( $ location ) ) ) { return $ this ; } } if ( ! is_array ( $ map ) ) { throw new Zend_Loader_Exception_InvalidArgumentException ( 'Map file provided does not return a map' ) ; } $ this -> map = array_merge ( $ this -> map , $ map ) ; if ( isset ( $ location ) ) { $ this -> mapsLoaded [ ] = $ location ; } return $ this ; }
docstring: Register an autoload map
  
  An autoload map may be either an associative array, or a file returning
  an associative array.
  
  An autoload map should be an associative array containing
  classname/file pairs.
  
  @param  string|array $location
  @return Zend_Loader_ClassMapAutoloader
docstring_tokens: Register an autoload map