RequestDiagnosticValueRenderer
API reference › Debug Core › Panel › Request › RequestDiagnosticValueRenderer
Renders captured Request diagnostics without changing their stored values.
Methods
Section titled “Methods”| Method | Description | Defined by |
|---|---|---|
escape() static | Escapes a diagnostic label while substituting malformed UTF-8 bytes. | RequestDiagnosticValueRenderer |
header() static | Renders a header value, preserving repeated header lines as distinct ordered values. | RequestDiagnosticValueRenderer |
value() static | Renders a captured scalar as readable text and falls back to the diagnostic dumper for structured values. | RequestDiagnosticValueRenderer |
Method details
Section titled “Method details”escape()
Section titled “escape() ”public static function escape(string $value): stringEscapes a diagnostic label while substituting malformed UTF-8 bytes.
Parameters
| Parameter | Type | Description |
|---|---|---|
$value | string | Diagnostic label to escape. |
Returns
string: Escaped label with malformed bytes substituted.
header()
Section titled “header() ”public static function header(mixed $value): stringRenders a header value, preserving repeated header lines as distinct ordered values.
Parameters
| Parameter | Type | Description |
|---|---|---|
$value | mixed | Captured header value. |
Returns
string: Clamped list markup for repeated lines, or the single rendered value.
value()
Section titled “value() ”public static function value(mixed $value): stringRenders a captured scalar as readable text and falls back to the diagnostic dumper for structured values.
Parameters
| Parameter | Type | Description |
|---|---|---|
$value | mixed | Captured diagnostic value. |
Returns
string: Clamped markup carrying the rendered value.