ServerVariableGrouper
API reference › Debug Core › Panel › Request › ServerVariableGrouper
Partitions captured server variables into stable, framework-neutral diagnostic groups.
Methods
Section titled “Methods”| Method | Description | Defined by |
|---|---|---|
group() static | Partitions the captured variables into the declared groups, dropping the groups that stay empty. | ServerVariableGrouper |
Method details
Section titled “Method details”group()
Section titled “group() ”public static function group(array<int|string, mixed> $entries): list<PHPForge\Debug\Panel\Request\ServerVariableGroup>Partitions the captured variables into the declared groups, dropping the groups that stay empty.
Parameters
| Parameter | Type | Description |
|---|---|---|
$entries | array<int| | Captured server variables, keyed by variable name. |
Returns
list<ServerVariableGroup>: Non-empty groups in display order.