Explorar o código

Make CommandPipeline::recordCommand() overridable by subclasses.

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