public function setResponseCallback($callback)
    {
        if ($callback !== null && !is_callable($callback)) {
            throw new Rediska_Connection_Exec_Exception('Bad callback');
        }

        $this->_responseCallback = $callback;

        return $this;
    }
public function setResponseCallback($callback)
    {
        if ($callback !== null && !is_callable($callback)) {
            throw new Rediska_Connection_Exec_Exception('Bad callback');
        }

        $this->_responseCallback = $callback;

        return $this;
    }
public function setResponseCallback ( $ callback ) { if ( $ callback !== null && ! is_callable ( $ callback ) ) { throw new Rediska_Connection_Exec_Exception ( 'Bad callback' ) ; } $ this -> _responseCallback = $ callback ; return $ this ; }
Set response callback

@param mixin $callback
@return Rediska_Connection_Exec
Set response callback