beginDatabaseTransaction()
Handle database transactions on the specified connections.
public
beginDatabaseTransaction(
)
: mixed
Trait enabling wrapping of each test case in a database transaction Based on Laravel `DatabaseTransactions` Traits
beginDatabaseTransaction() | Handle database transactions on the specified connections. | mixed |
---|---|---|
connectionsToTransact() | The database connections that should have transactions. | array |
Handle database transactions on the specified connections.
public
beginDatabaseTransaction(
)
: mixed
The database connections that should have transactions.
protected
connectionsToTransact(
)
: array