isRollbackOnly() public method

Checks whether the current transaction is marked for rollback only.
public isRollbackOnly ( ) : boolean
return boolean
Ejemplo n.º 1
0
 public function testIsRollbackOnlyNoActiveTransaction_ThrowsException()
 {
     $this->setExpectedException('Doctrine\\DBAL\\ConnectionException');
     $this->_conn->isRollbackOnly();
 }