Esempio n. 1
0
 /**
  * @param $key
  * @param $min
  * @param $max
  * @param array $options
  * @return array
  */
 public function getByScoreReversed($key, $min, $max = null, array $options = [])
 {
     if (is_null($max)) {
         $max = $min;
     }
     return $this->client->zRevRangeByScore($key, $min, $max, $options);
 }