src/BTR/RedisObjects/RedisObject.php
public function expireAt($timestamp, bool $milliseconds = false): bool
    {
        if ($milliseconds) {
            $return = $this->redis->pexpireat($this->key, $timestamp);
        } else {
            $return = $this->redis->expireAt($this->key, $timestamp);
        }

        return $return === self::RESPONSE_SUCCESS;
    }
public function expireAt($timestamp, bool $milliseconds = false): bool
    {
        if ($milliseconds) {
            $return = $this->redis->pexpireat($this->key, $timestamp);
        } else {
            $return = $this->redis->expireAt($this->key, $timestamp);
        }

        return $return === self::RESPONSE_SUCCESS;
    }
public function expireAt ( $ timestamp , bool $ milliseconds = false ) : bool { if ( $ milliseconds ) { $ return = $ this -> redis -> pexpireat ( $ this -> key , $ timestamp ) ; } else { $ return = $ this -> redis -> expireAt ( $ this -> key , $ timestamp ) ; } return $ return === self :: RESPONSE_SUCCESS ; }
@param int  $timestamp    Timestamp in seconds or milliseconds since Unix epoch.

@param bool $milliseconds If set to true, $timestamp is interpreted as milliseconds timestamp.

@return bool True on success. False otherwise.
@param int $timestamp Timestamp in seconds or milliseconds since Unix epoch .