Explorar o código

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

Daniele Alessandri %!s(int64=14) %!d(string=hai) anos
pai
achega
b47a3f9ab8
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  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;
     }