# PanelRenderInput

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

[API reference](/docs/api/index.md) › [Yii3 Debug](/docs/extensions/yii3-debug/reference/index.md) › [Panel](/docs/extensions/yii3-debug/reference/panel/index.md) › PanelRenderInput

| final readonly class | `Yii3\Debug\Panel\PanelRenderInput` |
| --- | --- |
| Source | [`src/Panel/PanelRenderInput.php`](https://github.com/yii3/debug/blob/main/src/Panel/PanelRenderInput.php#L13) |

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

## Properties

| Property | Type | Description | Defined by |
| --- | --- | --- | --- |
| <span id="property-context"></span>`$context` readonly constructor | `PHPForge\Debug\Panel\PanelRenderContext` | State of the debugger request being rendered. | `PanelRenderInput` |
| <span id="property-payload"></span>`$payload` readonly constructor | `array<string, mixed>` | Serialized panel payload. | `PanelRenderInput` |
| <span id="property-summary"></span>`$summary` readonly constructor | `PHPForge\Debug\Storage\RequestSummary` | Manifest entry of the capture being rendered. | `PanelRenderInput` |

## Methods

| Method | Description | Defined by |
| --- | --- | --- |
| [`__construct()`](#method-__construct) | Creates the complete input for rendering one captured panel page. | `PanelRenderInput` |

## Method details

### __construct() <span id="method-__construct"></span>

```php
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**

| Parameter | Type | Description |
| --- | --- | --- |
| `$payload` | `array<string, mixed>` | Serialized panel payload. |
| `$context` | `PHPForge\Debug\Panel\PanelRenderContext` | State of the debugger request being rendered. |
| `$summary` | `PHPForge\Debug\Storage\RequestSummary` | Manifest entry of the capture being rendered. |