소스 검색

Use a protected method to get all the flags of a transaction.

Daniele Alessandri 13 년 전
부모
커밋
f085d2f97d
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      lib/Predis/Transaction/MultiExecContext.php

+ 4 - 0
lib/Predis/Transaction/MultiExecContext.php

@@ -35,6 +35,10 @@ class MultiExecContext {
         $this->_state = $flags;
     }
 
+    protected function getState() {
+        return $this->_state;
+    }
+
     protected function flagState($flags) {
         $this->_state |= $flags;
     }