AssetPanel
API reference › Debug Core › Panel › Asset › AssetPanel
Presents the registered asset bundles as a strip of headline statistics and a grid holding one card per bundle.
The optional Vite bridge snapshot is described first, because it governs how the bundles resolve their URLs.
Methods
Section titled “Methods”| Method | Description | Defined by |
|---|---|---|
present() | Builds the panel view from the decoded asset capture. | AssetPanel |
Constants
Section titled “Constants”| Constant | Value | Description | Defined by |
|---|---|---|---|
ICON | \ | AssetPanel | |
ID | \ | AssetPanel | |
TITLE | \ | AssetPanel |
Method details
Section titled “Method details”present()
Section titled “present() ”public function present(array<string, mixed> $data): PHPForge\Debug\PanelViewBuilds the panel view from the decoded asset capture.
Parameters
| Parameter | Type | Description |
|---|---|---|
$data | array<string, | Decoded panel payload with bundles and vite keys. |
Returns
PanelView: Aggregate statistics, Vite overview, and one card per registered bundle.