Переглянути джерело

Make CommandPipeline::recordCommand() overridable by subclasses.

Daniele Alessandri 14 роки тому
батько
коміт
b03e6c4f02
1 змінених файлів з 1 додано та 1 видалено
  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;
     }