Jamm\Memory\RedisServer::zRevRangeByScore PHP Method

zRevRangeByScore() public method

public zRevRangeByScore ( $key, $max, $min, $withscores = false, array $limit = null )
$limit array
    public function zRevRangeByScore($key, $max, $min, $withscores = false, array $limit = null)
    {
        $args = array($key, $max, $min);
        if ($withscores) {
            $args[] = self::WITHSCORES;
        }
        if (!empty($limit)) {
            $args[] = 'LIMIT';
            $args[] = $limit[0];
            $args[] = $limit[1];
        }
        return $this->__call('zRevRangeByScore', $args);
    }