Quellcode durchsuchen

Make CommandPipeline::recordCommand() overridable by subclasses.

Daniele Alessandri vor 14 Jahren
Ursprung
Commit
b03e6c4f02
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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;
     }