Procházet zdrojové kódy

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

Daniele Alessandri před 14 roky
rodič
revize
b47a3f9ab8
1 změnil soubory, kde provedl 5 přidání a 0 odebrání
  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;
     }