QueueCardRenderer
API reference › Debug Core › Panel › Queue › QueueCardRenderer
Renders the typed Queue panel detail view.
Methods
Section titled “Methods”| Method | Description | Defined by |
|---|---|---|
renderAsyncHint() static | Renders the async-driver hint banner shown above the cards when at least one record was emitted by a driver that runs jobs out of process. | QueueCardRenderer |
renderItem() static | Renders a single job event as an <article class="yii-debug-queue-card"> ready to drop into the detail view. | QueueCardRenderer |
Method details
Section titled “Method details”renderAsyncHint()
Section titled “renderAsyncHint() ”public static function renderAsyncHint(PHPForge\Debug\Panel\Queue\QueueSummary $summary): UIAwesome\Html\Flow\Div|nullRenders the async-driver hint banner shown above the cards when at least one record was emitted by a driver that runs jobs out of process.
Returns null when every record came from a sync driver, so the caller can omit the banner entirely.
renderItem()
Section titled “renderItem() ”public static function renderItem(PHPForge\Debug\Panel\Queue\JobRecord $record): UIAwesome\Html\Sectioning\ArticleRenders a single job event as an <article class="yii-debug-queue-card"> ready to drop into the detail view.