소스 검색

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