MGDigital\BusQue\Redis\PHPRedis\PHPRedisAdapter::zScore PHP Method

zScore() public method

public zScore ( string $key, string $value )
$key string
$value string
    public function zScore(string $key, string $value)
    {
        $score = $this->tryCatch(function () use($key, $value) {
            return $this->redis->zScore($key, $value);
        });
        return $score === null ? $score : intval($score);
    }