diff options
author | michael-grunder <michael.grunder@gmail.com> | 2014-07-09 03:54:40 +0400 |
---|---|---|
committer | michael-grunder <michael.grunder@gmail.com> | 2015-05-06 01:02:04 +0300 |
commit | 4462913cb7b9e46034c719df220cf85f6c400a25 (patch) | |
tree | fb3c75fd65f5d620929daf1b0e76f3f8775a535c /redis_cluster.h | |
parent | ba9485d7ef881a99539882bba60106759cbc12e7 (diff) |
Added _masters method
Added a helper method RedisCluster::_masters to get every master
that phpredis knows about, for the purposes of things like
scanning across the whole keyspace
Diffstat (limited to 'redis_cluster.h')
-rw-r--r-- | redis_cluster.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/redis_cluster.h b/redis_cluster.h index 66c4c35c..9c9fba45 100644 --- a/redis_cluster.h +++ b/redis_cluster.h @@ -251,5 +251,6 @@ PHP_METHOD(RedisCluster, setoption); PHP_METHOD(RedisCluster, _prefix); PHP_METHOD(RedisCluster, _serialize); PHP_METHOD(RedisCluster, _unserialize); +PHP_METHOD(RedisCluster, _masters); #endif |