original_string: public function registerAutoloadMaps($locations)
      {
          if (!is_array($locations) && !($locations instanceof Traversable)) {
  
              throw new Zend_Loader_Exception_InvalidArgumentException('Map list must be an array or implement Traversable');
          }
          foreach ($locations as $location) {
              $this->registerAutoloadMap($location);
          }
          return $this;
      }
code: public function registerAutoloadMaps($locations)
      {
          if (!is_array($locations) && !($locations instanceof Traversable)) {
  
              throw new Zend_Loader_Exception_InvalidArgumentException('Map list must be an array or implement Traversable');
          }
          foreach ($locations as $location) {
              $this->registerAutoloadMap($location);
          }
          return $this;
      }
code_tokens: public function registerAutoloadMaps ( $ locations ) { if ( ! is_array ( $ locations ) && ! ( $ locations instanceof Traversable ) ) { throw new Zend_Loader_Exception_InvalidArgumentException ( 'Map list must be an array or implement Traversable' ) ; } foreach ( $ locations as $ location ) { $ this -> registerAutoloadMap ( $ location ) ; } return $ this ; }
docstring: Register many autoload maps at once
  
  @param  array $locations
  @return Zend_Loader_ClassMapAutoloader
docstring_tokens: Register many autoload maps at once