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

@param string $name Name of option
@return mixed