trait CanUseDatabaseTransactions (View source)

Properties

protected bool|null $hasDatabaseTransactions

Methods

bool
hasDatabaseTransactions()

No description

void
beginDatabaseTransaction()

No description

void
commitDatabaseTransaction()

No description

void
rollBackDatabaseTransaction()

No description

mixed
wrapInDatabaseTransaction(Closure $callback)

No description

Details

bool hasDatabaseTransactions()

No description

Return Value

bool

protected void beginDatabaseTransaction()

No description

Return Value

void

protected void commitDatabaseTransaction()

No description

Return Value

void

protected void rollBackDatabaseTransaction()

No description

Return Value

void

protected mixed wrapInDatabaseTransaction(Closure $callback)

No description

Parameters

Closure $callback

Return Value

mixed