瀏覽代碼

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;
     }