浏览代码

Merge remote-tracking branch 'github/pr/333'

Daniele Alessandri 8 年之前
父节点
当前提交
f0b3014cb4
共有 3 个文件被更改,包括 7 次插入0 次删除
  1. 1 0
      src/ClientContextInterface.php
  2. 1 0
      src/ClientInterface.php
  3. 5 0
      src/Command/ZSetReverseRangeByLex.php

+ 1 - 0
src/ClientContextInterface.php

@@ -121,6 +121,7 @@ use Predis\Command\CommandInterface;
  * @method $this zscore($key, $member)
  * @method $this zscan($key, $cursor, array $options = null)
  * @method $this zrangebylex($key, $start, $stop, array $options = null)
+ * @method $this zrevrangebylex($key, $start, $stop, array $options = null)
  * @method $this zremrangebylex($key, $min, $max)
  * @method $this zlexcount($key, $min, $max)
  * @method $this pfadd($key, array $elements)

+ 1 - 0
src/ClientInterface.php

@@ -129,6 +129,7 @@ use Predis\Profile\ProfileInterface;
  * @method string zscore($key, $member)
  * @method array  zscan($key, $cursor, array $options = null)
  * @method array  zrangebylex($key, $start, $stop, array $options = null)
+ * @method array  zrevrangebylex($key, $start, $stop, array $options = null)
  * @method int    zremrangebylex($key, $min, $max)
  * @method int    zlexcount($key, $min, $max)
  * @method int    pfadd($key, array $elements)

+ 5 - 0
src/Command/ZSetReverseRangeByLex.php

@@ -11,6 +11,11 @@
 
 namespace Predis\Command;
 
+/**
+ * @link http://redis.io/commands/zrevrangebylex
+ *
+ * @author Daniele Alessandri <suppakilla@gmail.com>
+ */
 class ZSetReverseRangeByLex extends ZSetRangeByLex
 {
     /**