trait CanUseDatabaseTransactions (View source)

Properties

protected bool|Closure $hasDatabaseTransactions

Methods

databaseTransaction(bool|Closure $condition = true)

No description

bool
hasDatabaseTransactions()

No description

void
beginDatabaseTransaction()

No description

void
commitDatabaseTransaction()

No description

void
rollBackDatabaseTransaction()

No description

Details

CanUseDatabaseTransactions databaseTransaction(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanUseDatabaseTransactions

bool hasDatabaseTransactions()

No description

Return Value

bool

void beginDatabaseTransaction()

No description

Return Value

void

void commitDatabaseTransaction()

No description

Return Value

void

void rollBackDatabaseTransaction()

No description

Return Value

void