Skip to content
PHP Ecosystem
Explore

AssetPanel

API reference › Debug Core › Panel › Asset › AssetPanel

final classPHPForge\Debug\Panel\Asset\AssetPanel
ExtendsPHPForge\Debug\Panel
Sourcesrc/Panel/Asset/AssetPanel.php

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.

MethodDescriptionDefined by
present()Builds the panel view from the decoded asset capture.AssetPanel
ConstantValueDescriptionDefined by
ICON\PHPForge\Debug\Panel\Asset\AssetMessage::ID->valueAssetPanel
ID\PHPForge\Debug\Panel\Asset\AssetMessage::ID->valueAssetPanel
TITLE\PHPForge\Debug\Panel\Asset\AssetMessage::TITLE->valueAssetPanel
public function present(array<string, mixed> $data): PHPForge\Debug\PanelView

Builds the panel view from the decoded asset capture.

Parameters

ParameterTypeDescription
$dataarray<string, mixed>Decoded panel payload with bundles and vite keys.

Returns

PanelView: Aggregate statistics, Vite overview, and one card per registered bundle.