瀏覽代碼

Implement Predis\Commands\Command::setRawArguments().

Daniele Alessandri 14 年之前
父節點
當前提交
b47a3f9ab8
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5 0
      lib/Predis/Commands/Command.php

+ 5 - 0
lib/Predis/Commands/Command.php

@@ -18,6 +18,11 @@ abstract class Command implements ICommand {
         unset($this->_hash);
     }
 
+    public function setRawArguments(Array $arguments) {
+        $this->_arguments = $arguments;
+        unset($this->_hash);
+    }
+
     public function getArguments() {
         return $this->_arguments;
     }