rollbackTransaction() public method

public rollbackTransaction ( integer $transactionId )
$transactionId integer
 /**
  * {@inheritdoc}
  */
 public function rollback()
 {
     $this->assertNotClosed();
     $this->assertStarted();
     $this->session->rollbackTransaction($this->transactionId);
     $this->closed = true;
     $this->state = self::ROLLED_BACK;
     $this->session->transaction = null;
 }