public function setExpire($secondsOrTimestamp, $isTimestamp = false)
    {
        if ($secondsOrTimestamp !== null) {
            trigger_error('Expire option is deprecated, because expire behaviour was changed in Redis 2.2. Use expire method instead.', E_USER_WARNING);
        }

        $this->_options['expire'] = $secondsOrTimestamp;
        $this->_options['expireIsTimestamp'] = $isTimestamp;
        
        return $this;
    }
public function setExpire($secondsOrTimestamp, $isTimestamp = false)
    {
        if ($secondsOrTimestamp !== null) {
            trigger_error('Expire option is deprecated, because expire behaviour was changed in Redis 2.2. Use expire method instead.', E_USER_WARNING);
        }

        $this->_options['expire'] = $secondsOrTimestamp;
        $this->_options['expireIsTimestamp'] = $isTimestamp;
        
        return $this;
    }
public function setExpire ( $ secondsOrTimestamp , $ isTimestamp = false ) { if ( $ secondsOrTimestamp !== null ) { trigger_error ( 'Expire option is deprecated, because expire behaviour was changed in Redis 2.2. Use expire method instead.' , E_USER_WARNING ) ; } $ this -> _options [ 'expire' ] = $ secondsOrTimestamp ; $ this -> _options [ 'expireIsTimestamp' ] = $ isTimestamp ; return $ this ; }
Set expire time

@param $secondsOrTimestamp Time in seconds or timestamp
@param $isTimestamp        Time is timestamp? Default is false.
@return Rediska_Key_Abstract
Set expire time