Menu

## StreamTransaction extends Transaction
in package

Final Yes
StreamTransaction.php : 20

Manages stream transactions on ArangoDB server

### Table of Contents

#### Methods

__construct() : mixed
  StreamTransaction constructor.
abort() : mixed
  Abort transaction
begin() : mixed
  Begin transaction
commit() : mixed
  Commit transaction
getTransactionId() : string
  Returns the transaction id
getTransactionStatus() : string
  Returns the transaction status

### Methods

#### __construct()

StreamTransaction.php : 51

StreamTransaction constructor.

`public __construct(Connection $connection[, array<string|int, mixed> $options = [] ]) : mixed`

##### Parameters

$connection : Connection

  Connection object to use.

$options : array<string|int, mixed> = []

  Transaction options.

##### Tags

throws
  TransactionException|InvalidParameterException|MissingParameterException

#### abort()

StreamTransaction.php : 129

Abort transaction

`public abort() : mixed`

##### Tags

throws
  TransactionException|BadResponseException|GuzzleException

#### begin()

StreamTransaction.php : 81

Begin transaction

`public begin() : mixed`

##### Tags

throws
  TransactionException|BadResponseException|GuzzleException

#### commit()

StreamTransaction.php : 103

Commit transaction

`public commit() : mixed`

##### Tags

throws
  TransactionException|BadResponseException|GuzzleException

#### getTransactionId()

StreamTransaction.php : 61

Returns the transaction id

`public getTransactionId() : string`

##### Return values

string

#### getTransactionStatus()

StreamTransaction.php : 71

Returns the transaction status

`public getTransactionStatus() : string`

##### Return values

string

## Search results