code: public function rangeByLex(string $min, string $max, $limit = null, bool $reverse = false): array
      {
          if ($reverse) {
              $ret = $this->redis->zrevrangebylex($this->key, $min, $max, $limit);
          } else {
              $ret = $this->redis->zrangebylex($this->key, $min, $max, $limit);
          }
  
          return array_map([$this, 'strToVal'], $ret);
      }
docs: @link https://redis.io/commands/zrangebylex
  @link https://redis.io/commands/zrevrangebylex
  
  @param string         $min
  @param string         $max
  @param array|int|null $limit
  
  @param bool           $reverse Output is reversed.
  
  @return string[]