QueuePill
API reference › Debug Core › Panel › Queue › QueuePill
Builds the driver and lifecycle-status pills shared by the Queue card and grid views.
Methods
Section titled “Methods”| Method | Description | Defined by |
|---|---|---|
driver() static | Builds the driver pill, tagging out-of-process drivers with the is-async modifier and keeping the driver class in a title tooltip. | QueuePill |
status() static | Builds the lifecycle-status pill from JobRecord::EVENT_VARIANTS, falling back to the queued state for unknown event types. | QueuePill |
Method details
Section titled “Method details”driver()
Section titled “driver() ”public static function driver(PHPForge\Debug\Panel\Queue\JobRecord $record): UIAwesome\Html\Phrasing\SpanBuilds the driver pill, tagging out-of-process drivers with the is-async modifier and keeping the driver
class in a title tooltip.
Parameters
| Parameter | Type | Description |
|---|---|---|
$record | JobRecord | Typed queue event record. |
Returns
UIAwesome\Html\Phrasing\Span: Driver pill element.
status()
Section titled “status() ”public static function status(PHPForge\Debug\Panel\Queue\JobRecord $record): UIAwesome\Html\Phrasing\SpanBuilds the lifecycle-status pill from JobRecord::EVENT_VARIANTS, falling back to the queued state for
unknown event types.
Parameters
| Parameter | Type | Description |
|---|---|---|
$record | JobRecord | Typed queue event record. |
Returns
UIAwesome\Html\Phrasing\Span: Status pill element.