public function addOptions($options)
    {
        if (!is_array($options)) {
            throw new \InvalidArgumentException("options must be an array");
        }
        $this->options = $options + $this->options;

        return $this;
    }
public function addOptions($options)
    {
        if (!is_array($options)) {
            throw new \InvalidArgumentException("options must be an array");
        }
        $this->options = $options + $this->options;

        return $this;
    }
public function addOptions ( $ options ) { if ( ! is_array ( $ options ) ) { throw new \ InvalidArgumentException ( "options must be an array" ) ; } $ this -> options = $ options + $ this -> options ; return $ this ; }
Override and add options

@param  array                     $options

@throws \InvalidArgumentException
@return RollingCurl
Override and add options