/** * Rollback any database changes made during the current transaction. * * @throws Doctrine\DBAL\ConnectionException If the rollback operation failed. */ public function rollback() { $this->_em->close(); $this->_conn->rollback(); }