library/Rediska/Options.php
public function setOption($name, $value)
    {
        if (method_exists($this, "set$name")) {
            return call_user_func(array($this, "set$name"), $value);
        } else if (array_key_exists($name, $this->_options)) {
            $this->_options[$name] = $value;
            return $this;
        } else {
            throw new $this->_optionsException("Unknown option '$name'");
        }
    }
public function setOption($name, $value)
    {
        if (method_exists($this, "set$name")) {
            return call_user_func(array($this, "set$name"), $value);
        } else if (array_key_exists($name, $this->_options)) {
            $this->_options[$name] = $value;
            return $this;
        } else {
            throw new $this->_optionsException("Unknown option '$name'");
        }
    }
Set option

@param string $name Name of option
@param mixed $value Value of option
@return Rediska_Options