From a8705b9535bada4e4295bcc7df0cf82ba2cdea7c Mon Sep 17 00:00:00 2001 From: Daniele Alessandri Date: Tue, 19 Apr 2011 20:42:50 +0200 Subject: [PATCH] Implement variadic SADD in the development profile (Redis v2.4). --- lib/Predis/Commands/SetAddV24x.php | 20 ++++++++++++++++++++ lib/Predis/Profiles/ServerVersionNext.php | 3 +++ 2 files changed, 23 insertions(+) create mode 100644 lib/Predis/Commands/SetAddV24x.php diff --git a/lib/Predis/Commands/SetAddV24x.php b/lib/Predis/Commands/SetAddV24x.php new file mode 100644 index 00000000..3f7a8c19 --- /dev/null +++ b/lib/Predis/Commands/SetAddV24x.php @@ -0,0 +1,20 @@ + '\Predis\Commands\ListPushTailV24x', 'lpush' => '\Predis\Commands\ListPushHeadV24x', + /* commands operating on sets */ + 'sadd' => '\Predis\Commands\SetAddV24x', + /* remote server control commands */ 'info' => '\Predis\Commands\InfoV24x', ));