RequestDataNormalizer
API reference › Debug Core › Panel › Request › RequestDataNormalizer
Narrows the request snapshot payload (alongside the controller summary array) into the typed RequestView the
detail view consumes.
Methods
Section titled “Methods”| Method | Description | Defined by |
|---|---|---|
fromPanelData() static | Builds the typed RequestView from the captured request data and the manifest entry. | RequestDataNormalizer |
Method details
Section titled “Method details”fromPanelData()
Section titled “fromPanelData() ”public static function fromPanelData(array<array-key, mixed> $data, PHPForge\Debug\Storage\RequestSummary|null $summary): PHPForge\Debug\Panel\Request\RequestViewBuilds the typed RequestView from the captured request data and the manifest entry.
Parameters
| Parameter | Type | Description |
|---|---|---|
$data | array<array-key, | Captured request data exposed by RequestSnapshot. |
$summary | PHPForge\| | Manifest entry for the loaded capture, when available. |
Returns