Browse Source

Make CommandPipeline::recordCommand() overridable by subclasses.

Daniele Alessandri 14 năm trước cách đây
mục cha
commit
b03e6c4f02
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;
     }