diff options
author | Michael Grunder <michael.grunder@gmail.com> | 2020-06-25 03:00:01 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-25 03:00:01 +0300 |
commit | a311cc4ec3cecdbaf83ba66985efa82137e37cc0 (patch) | |
tree | 078ca80c140e3a77e088a213066b27d0b350c7c6 /redis_cluster.h | |
parent | 04def9fbe2194b3b711362de57260a6cd5216e69 (diff) |
Support for Redis 6 ACLs (#1791)
Add support for Redis 6 ACLs in the `Redis`, `RedisCluster`, and `RedisArray` classes.
On a related note, it adds a mechanism for users to customize how we generate persistent connection IDs such that they can be grouped in different ways depending on the specific use case required (e.g. it would allow connections to be grouped by username, or by user-defined persistent_id, or both).
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 379d034c..c6959fde 100644 --- a/redis_cluster.h +++ b/redis_cluster.h @@ -99,6 +99,7 @@ void free_cluster_context(zend_object *object); /* RedisCluster method implementation */ PHP_METHOD(RedisCluster, __construct); +PHP_METHOD(RedisCluster, acl); PHP_METHOD(RedisCluster, close); PHP_METHOD(RedisCluster, get); PHP_METHOD(RedisCluster, set); |