Skip to content
PHP Ecosystem
Explore

QueuePill

API reference › Debug Core › Panel › Queue › QueuePill

final classPHPForge\Debug\Panel\Queue\QueuePill
Sourcesrc/Panel/Queue/QueuePill.php

Builds the driver and lifecycle-status pills shared by the Queue card and grid views.

MethodDescriptionDefined by
driver() staticBuilds the driver pill, tagging out-of-process drivers with the is-async modifier and keeping the driver class in a title tooltip.QueuePill
status() staticBuilds the lifecycle-status pill from JobRecord::EVENT_VARIANTS, falling back to the queued state for unknown event types.QueuePill
public static function driver(PHPForge\Debug\Panel\Queue\JobRecord $record): UIAwesome\Html\Phrasing\Span

Builds the driver pill, tagging out-of-process drivers with the is-async modifier and keeping the driver class in a title tooltip.

Parameters

ParameterTypeDescription
$recordJobRecordTyped queue event record.

Returns

UIAwesome\Html\Phrasing\Span: Driver pill element.

public static function status(PHPForge\Debug\Panel\Queue\JobRecord $record): UIAwesome\Html\Phrasing\Span

Builds the lifecycle-status pill from JobRecord::EVENT_VARIANTS, falling back to the queued state for unknown event types.

Parameters

ParameterTypeDescription
$recordJobRecordTyped queue event record.

Returns

UIAwesome\Html\Phrasing\Span: Status pill element.