Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpredis/phpredis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormichael-grunder <michael.grunder@gmail.com>2014-07-09 03:54:40 +0400
committermichael-grunder <michael.grunder@gmail.com>2015-05-06 01:02:04 +0300
commit4462913cb7b9e46034c719df220cf85f6c400a25 (patch)
treefb3c75fd65f5d620929daf1b0e76f3f8775a535c /redis_cluster.h
parentba9485d7ef881a99539882bba60106759cbc12e7 (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.h1
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