Skip to content
PHP Ecosystem
Explore

PanelRenderInput

API reference › Yii3 Debug › Panel › PanelRenderInput

final readonly classYii3\Debug\Panel\PanelRenderInput
Sourcesrc/Panel/PanelRenderInput.php

Carries the payload, request context, and request summary a panel renders one captured page from.

PropertyTypeDescriptionDefined by
$context readonly constructorPHPForge\Debug\Panel\PanelRenderContextState of the debugger request being rendered.PanelRenderInput
$payload readonly constructorarray<string, mixed>Serialized panel payload.PanelRenderInput
$summary readonly constructorPHPForge\Debug\Storage\RequestSummaryManifest entry of the capture being rendered.PanelRenderInput
MethodDescriptionDefined by
__construct()Creates the complete input for rendering one captured panel page.PanelRenderInput
public function __construct(array<string, mixed> $payload, PHPForge\Debug\Panel\PanelRenderContext $context, PHPForge\Debug\Storage\RequestSummary $summary)

Creates the complete input for rendering one captured panel page.

Parameters

ParameterTypeDescription
$payloadarray<string, mixed>Serialized panel payload.
$contextPHPForge\Debug\Panel\PanelRenderContextState of the debugger request being rendered.
$summaryPHPForge\Debug\Storage\RequestSummaryManifest entry of the capture being rendered.