Skip to content
PHP Ecosystem
Explore

DumpCardRenderer

API reference › Debug Core › Panel › Dump › DumpCardRenderer

final classPHPForge\Debug\Panel\Dump\DumpCardRenderer
Sourcesrc/Panel/Dump/DumpCardRenderer.php

Renders the typed dump cells of the dumps grid for the Dump debug panel.

MethodDescriptionDefined by
renderMessageCell() staticRenders the dump card combining the head (#index, type badge, time, trace label) and the body (highlighted payload + optional trace list).DumpCardRenderer
public static function renderMessageCell(PHPForge\Debug\Panel\Dump\DumpRow $row, Closure(array<string, mixed>): string $traceLine, int $index): string

Renders the dump card combining the head (#index, type badge, time, trace label) and the body (highlighted payload + optional trace list).

Parameters

ParameterTypeDescription
$rowDumpRowTyped dump record.
$traceLineClosure(array<string, mixed>): stringRenders one backtrace frame as a link line.
$indexintZero-based row index assigned by GridView.

Returns

string