From f085d2f97dbf83fc9c7afe8cdc0a6066cc84433a Mon Sep 17 00:00:00 2001 From: Daniele Alessandri Date: Wed, 24 Aug 2011 11:46:07 +0200 Subject: [PATCH] Use a protected method to get all the flags of a transaction. --- lib/Predis/Transaction/MultiExecContext.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/Predis/Transaction/MultiExecContext.php b/lib/Predis/Transaction/MultiExecContext.php index 83ae65a8..ffc431ca 100644 --- a/lib/Predis/Transaction/MultiExecContext.php +++ b/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; }