PanelRenderer
API reference › Debug Core › Panel › PanelRenderer
Renders external panel descriptions exclusively through the existing debugger frontend.
Dispatch narrows the sealed Block and Inline unions with instanceof, so static analysis proves that
every value PanelView produces reaches a renderer.
Methods
Section titled “Methods”| Method | Description | Defined by |
|---|---|---|
render() static | Renders one panel description through the existing debugger frontend. | PanelRenderer |
Method details
Section titled “Method details”render()
Section titled “render() ”public static function render(string $name, PHPForge\Debug\PanelView $view, PHPForge\Debug\Helper\Trace|null $trace = null): stringRenders one panel description through the existing debugger frontend.
Parameters
| Parameter | Type | Description |
|---|---|---|
$name | string | Panel title used as the accessible heading. |
$view | PanelView | Description to render. |
$trace | PHPForge\| | Adapter-configured frame renderer, or null to use the default source links. |
Returns
string: Rendered panel markup.