PanelCatalog
API reference › Debug › service › PanelCatalog
Carries the panels the debugger registered and the catalog describing their display order.
Properties
Section titled “Properties”| Property | Type | Description | Defined by |
|---|---|---|---|
$panels readonly constructor | array<string, yii\> | Enabled panels indexed by ID in display order. | PanelCatalog |
$registry readonly constructor | PanelRegistry | Effective catalog carrying the display order and the IDs disabled by configuration. | PanelCatalog |
Methods
Section titled “Methods”| Method | Description | Defined by |
|---|---|---|
__construct() | Pairs the registered panels with their effective registry. | PanelCatalog |
Method details
Section titled “Method details”__construct()
Section titled “__construct() ”public function __construct(array<string, yii\debug\Panel> $panels, PHPForge\Debug\Registration\PanelRegistry $registry)Pairs the registered panels with their effective registry.
Parameters
| Parameter | Type | Description |
|---|---|---|
$panels | array<string, yii\> | Enabled panels indexed by ID in display order. |
$registry | PanelRegistry | Effective catalog carrying the display order and the IDs disabled by configuration. |