MGDigital\BusQue\Redis\RedisAdapterInterface::zScore PHP Метод

zScore() публичный Метод

public zScore ( string $key, string $value ) : integer | null
$key string
$value string
Результат integer | null
    public function zScore(string $key, string $value);

Usage Example

Пример #1
0
 public function it_can_get_the_time_of_a_scheduled_command()
 {
     $timestamp = time();
     $this->adapter->zScore('test:schedule', 'test||test')->willReturn($timestamp);
     $date = $this->getScheduledTime('test', 'test');
     $date->getTimestamp()->shouldReturn($timestamp);
 }