mirror of
https://github.com/predis/predis.git
synced 2026-09-10 10:27:11 +00:00
Use a protected method to get all the flags of a transaction.
This commit is contained in:
@@ -35,6 +35,10 @@ class MultiExecContext {
|
||||
$this->_state = $flags;
|
||||
}
|
||||
|
||||
protected function getState() {
|
||||
return $this->_state;
|
||||
}
|
||||
|
||||
protected function flagState($flags) {
|
||||
$this->_state |= $flags;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user