diff options
author | michael-grunder <michael.grunder@gmail.com> | 2014-11-30 23:24:44 +0300 |
---|---|---|
committer | michael-grunder <michael.grunder@gmail.com> | 2015-05-06 01:12:41 +0300 |
commit | 687a5ad64a6c143dcab4b19a7a27b2834c77e9af (patch) | |
tree | 98ed0c8426b07f90d2b2b00950f38ee82796c0e5 /php_redis.h | |
parent | 2f368bfedc18ee95b38cb3cd87e981772c05a8cf (diff) |
Implements the getMode() command
Rename command to rawCommand() as it's named in phpredis proper
This introspection function will inform the caller what mode phpredis
is in (atomic, pipeline, multi)
Conflicts:
php_redis.h
Diffstat (limited to 'php_redis.h')
-rw-r--r-- | php_redis.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/php_redis.h b/php_redis.h index 11e7f0dd..87339f56 100644 --- a/php_redis.h +++ b/php_redis.h @@ -197,7 +197,7 @@ PHP_METHOD(Redis, wait); PHP_METHOD(Redis, pubsub); PHP_METHOD(Redis, client); -PHP_METHOD(Redis, command); +PHP_METHOD(Redis, rawcommand); /* SCAN and friends */ PHP_METHOD(Redis, scan); @@ -220,7 +220,7 @@ PHP_METHOD(Redis, isConnected); PHP_METHOD(Redis, getPersistentID); PHP_METHOD(Redis, getAuth); PHP_METHOD(Redis, getMode); -PHP_METHOD(Redis, rawCommand); +PHP_METHOD(Redis, rawcommand); #ifdef PHP_WIN32 #define PHP_REDIS_API __declspec(dllexport) |