RequestSection
API reference › Debug Core › Panel › Request › RequestSection
Typed view-model for one name/value section rendered in the Request panel detail view.
Properties
Section titled “Properties”| Property | Type | Description | Defined by |
|---|---|---|---|
$caption readonly constructor | string | Section heading shown at the top of the rendered table. | RequestSection |
$entries readonly constructor | array<int| | Name → value entries that populate the table rows. | RequestSection |
$filterable readonly constructor | bool | true when the renderer should emit a search input next to the caption and wrap the table in a filter target, so the developer can narrow long tables (Session, Server, Headers). Default: false. | RequestSection |
$id readonly constructor | string | Stable semantic identifier used when a composed Request view needs to move or omit this section. Default: ''. | RequestSection |
Methods
Section titled “Methods”| Method | Description | Defined by |
|---|---|---|
__construct() | Creates a name/value section for the Request panel. | RequestSection |
Property details
Section titled “Property details”$entries
Section titled “$entries ”public readonly array<int|string, mixed> $entriesName → value entries that populate the table rows.
Keys are coerced to strings during rendering and values are dumped via Dump::asString()
for a stable, syntax-aware presentation.
Method details
Section titled “Method details”__construct()
Section titled “__construct() ”public function __construct(string $caption, array $entries, bool $filterable = false, string $id = '')Creates a name/value section for the Request panel.
Parameters
| Parameter | Type | Description |
|---|---|---|
$caption | string | |
$entries | array | |
$filterable | bool | |
$id | string |