original_string: public function setOptions($options)
  	{
  		$options = is_array($options) ? $options : array($options);
  
  		foreach ($options as $option)
  		{
  			$this->addOption($option);
  		}
  
  		return $this;
  	}
code: public function setOptions($options)
  	{
  		$options = is_array($options) ? $options : array($options);
  
  		foreach ($options as $option)
  		{
  			$this->addOption($option);
  		}
  
  		return $this;
  	}
code_tokens: public function setOptions ( $ options ) { $ options = is_array ( $ options ) ? $ options : array ( $ options ) ; foreach ( $ options as $ option ) { $ this -> addOption ( $ option ) ; } return $ this ; }
docstring: Batch add options to command.
  
  @param   mixed  $options  An options array.
  
  @return  AbstractCommand  Return this object to support chaining.
  
  @since  1.0
docstring_tokens: Batch add options to command .