Explorar o código

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

Daniele Alessandri %!s(int64=13) %!d(string=hai) anos
pai
achega
f085d2f97d
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  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;
     }