From 687a5ad64a6c143dcab4b19a7a27b2834c77e9af Mon Sep 17 00:00:00 2001 From: michael-grunder Date: Sun, 30 Nov 2014 12:24:44 -0800 Subject: 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 --- php_redis.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'php_redis.h') 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) -- cgit v1.2.3