Marks the current transaction so that the only possible
outcome for the transaction to be rolled back.
public setRollbackOnly ( ) : void | ||
return | void |
public function testSetRollbackOnlyNoActiveTransaction_ThrowsException() { $this->setExpectedException('Doctrine\\DBAL\\ConnectionException'); $this->_conn->setRollbackOnly(); }