Explorar el Código

Make CommandPipeline::recordCommand() overridable by subclasses.

Daniele Alessandri hace 14 años
padre
commit
b03e6c4f02
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      lib/Predis/CommandPipeline.php

+ 1 - 1
lib/Predis/CommandPipeline.php

@@ -21,7 +21,7 @@ class CommandPipeline {
         return $this;
     }
 
-    private function recordCommand(ICommand $command) {
+    protected function recordCommand(ICommand $command) {
         $this->_pipelineBuffer[] = $command;
     }