Transactions
in package
Table of Contents
- $transactions : resource
- run() : TransactionResult
- Executes a transactions
Properties
$transactions
private
resource
$transactions
Methods
run()
Executes a transactions
public
run(callable $logic[, TransactionOptions|null $options = null ]) : TransactionResult
Parameters
- $logic : callable
-
The transaction closure to execute. The callable receives single argument of type {TransactionAttemptContext}.
- $options : TransactionOptions|null = null
-
configuration options for the transaction