zScore() 공개 메소드

public zScore ( string $key, string $value ) : integer | null
$key string
$value string
리턴 integer | null
예제 #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);
 }