Browse Source

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

Daniele Alessandri 14 năm trước cách đây
mục cha
commit
b47a3f9ab8
1 tập tin đã thay đổi với 5 bổ sung0 xóa
  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;
     }