Преглед изворни кода

Make CommandPipeline::recordCommand() overridable by subclasses.

Daniele Alessandri пре 15 година
родитељ
комит
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;
     }