RequestTab
API reference › Debug Core › Panel › Request › RequestTab
Typed view-model for one tab in the Request panel detail view.
Properties
Section titled “Properties”| Property | Type | Description | Defined by |
|---|---|---|---|
$id readonly constructor | string | Stable semantic identifier used to compose the shared Request view without coupling adapters to translated presentation labels. Default: ''. | RequestTab |
$label readonly constructor | string | Navigation label shown in the tab strip ('Parameters', 'Headers', 'Session', 'Server'). | RequestTab |
$sections readonly constructor | list<RequestSection> | Sections rendered when this tab is active, in display order. | RequestTab |
Methods
Section titled “Methods”| Method | Description | Defined by |
|---|---|---|
__construct() | Creates a tab for the Request panel. | RequestTab |
Method details
Section titled “Method details”__construct()
Section titled “__construct() ”public function __construct(string $label, array $sections, string $id = '')Creates a tab for the Request panel.
Parameters
| Parameter | Type | Description |
|---|---|---|
$label | string | |
$sections | array | |
$id | string |