Skip to content

Commit 2335632

Browse files
committed
Add PFADD command
1 parent ff87523 commit 2335632

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/Redis.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3135,6 +3135,16 @@ public function time() {}
31353135
* </pre>
31363136
*/
31373137
public function scan( &$iterator, $pattern = null, $count = 0 ) {}
3138+
3139+
/**
3140+
* Adds all the element arguments to the HyperLogLog data structure stored at the key.
3141+
* @param string $key
3142+
* @param array $elements
3143+
* @return bool
3144+
* @link http://redis.io/commands/pfadd
3145+
* @example $redis->pfAdd('key', array('elem1', 'elem2'))
3146+
*/
3147+
public function pfAdd( $key, array $elements ) {}
31383148
}
31393149

31403150
class RedisException extends Exception {}

0 commit comments

Comments
 (0)