Skip to content
PHP Ecosystem
Explore

PanelCatalog

API reference › Debug › service › PanelCatalog

final readonly classyii\debug\service\PanelCatalog
Sourcesrc/service/PanelCatalog.php

Carries the panels the debugger registered and the catalog describing their display order.

PropertyTypeDescriptionDefined by
$panels readonly constructorarray<string, yii\debug\Panel>Enabled panels indexed by ID in display order.PanelCatalog
$registry readonly constructorPanelRegistryEffective catalog carrying the display order and the IDs disabled by configuration.PanelCatalog
MethodDescriptionDefined by
__construct()Pairs the registered panels with their effective registry.PanelCatalog
public function __construct(array<string, yii\debug\Panel> $panels, PHPForge\Debug\Registration\PanelRegistry $registry)

Pairs the registered panels with their effective registry.

Parameters

ParameterTypeDescription
$panelsarray<string, yii\debug\Panel>Enabled panels indexed by ID in display order.
$registryPanelRegistryEffective catalog carrying the display order and the IDs disabled by configuration.