trait InteractsWithQueueOutbox

Properties

bool|null $viaOutbox

Whether to stage the job through the transactional outbox.

string|null $outboxDatabase

The database connection that owns the staged job.

Methods

viaOutbox()

Dispatch the job through the transactional outbox.

withoutOutbox()

Dispatch the job without the transactional outbox.

onOutboxDatabase(UnitEnum|string $connection)

Stage the job on the given database connection.

Details

at line 29
InteractsWithQueueOutbox viaOutbox()

Dispatch the job through the transactional outbox.

at line 39
InteractsWithQueueOutbox withoutOutbox()

Dispatch the job without the transactional outbox.

at line 50
InteractsWithQueueOutbox onOutboxDatabase(UnitEnum|string $connection)

Stage the job on the given database connection.

Parameters

UnitEnum|string $connection

Return Value

InteractsWithQueueOutbox