ソースを参照

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;
     }