class DatabaseTransactionState implements NonCopyableContext

Constants

CONTEXT_KEY

Properties

DatabaseTransactionRecord> $committed
DatabaseTransactionRecord> $pending
array<string, null|DatabaseTransactionRecord> $current

Methods

__construct()

Create transaction state owned by one execution.

current()

Get the current execution's transaction state.

Details

at line 27
__construct()

Create transaction state owned by one execution.

at line 36
static DatabaseTransactionState current()

Get the current execution's transaction state.