瀏覽代碼

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