interface QueueStatsProvider

Supplies the counts shown by the admin queue dashboard widget.

Core binds a database-backed implementation. Extensions that provide a different queue backend (fof/redis, fof/horizon) bind their own implementation so the same core widget works for every driver, rather than each shipping a parallel dashboard.

Methods

array
totals()

Aggregate counts across all queues on the active connection.

array
queues()

Per-queue pending/reserved counts, keyed by queue name.

Details

array totals()

Aggregate counts across all queues on the active connection.

Return Value

array

array queues()

Per-queue pending/reserved counts, keyed by queue name.

Return Value

array