Query.php
public function options($options)
    {
        if (!is_array($options)) {
            throw new InvalidParamException('Array parameter expected, ' . gettype($options) . ' received.');
        }

        $this->options = $options;
        return $this;
    }
public function options($options)
    {
        if (!is_array($options)) {
            throw new InvalidParamException('Array parameter expected, ' . gettype($options) . ' received.');
        }

        $this->options = $options;
        return $this;
    }
public function options ( $ options ) { if ( ! is_array ( $ options ) ) { throw new InvalidParamException ( 'Array parameter expected, ' . gettype ( $ options ) . ' received.' ) ; } $ this -> options = $ options ; return $ this ; }
Sets the options to be passed to the command created by this query.
@param array $options the options to be set.
@return $this the query object itself
@throws InvalidParamException if $options is not an array
@see Command::$options
@since 2.0.4
Sets the options to be passed to the command created by this query .