ServerVariableGroup
API reference › Debug Core › Panel › Request › ServerVariableGroup
Groups captured server variables for the Request panel without changing their diagnostic values.
Properties
Section titled “Properties”| Property | Type | Description | Defined by |
|---|---|---|---|
$collapsed readonly constructor | bool | Whether the group should be initially collapsed. Default: false. | ServerVariableGroup |
$entries readonly constructor | array<int| | Captured server variables within the group. | ServerVariableGroup |
$id readonly constructor | string | Identifier for the server variable group. | ServerVariableGroup |
$label readonly constructor | string | Human-readable label for the server variable group. | ServerVariableGroup |
Methods
Section titled “Methods”| Method | Description | Defined by |
|---|---|---|
__construct() | Creates a group of captured server variables. | ServerVariableGroup |
Method details
Section titled “Method details”__construct()
Section titled “__construct() ”public function __construct(string $id, string $label, array<int|string, mixed> $entries, bool $collapsed = false)Creates a group of captured server variables.
Parameters
| Parameter | Type | Description |
|---|---|---|
$id | string | Identifier for the server variable group. |
$label | string | Human-readable label for the server variable group. |
$entries | array<int| | Captured server variables within the group. |
$collapsed | bool | Whether the group should be initially collapsed. |