ConfigPanel
API reference › Debug Core › Panel › Config › ConfigPanel
Presents the captured application identity, PHP runtime, and installed-extension roster.
Adapters own the phpinfo route, so they supply it with ConfigPanel::phpInfoUrl() before presenting.
Methods
Section titled “Methods”| Method | Description | Defined by |
|---|---|---|
phpInfoUrl() | Returns a new instance with the adapter-owned phpinfo URL. | ConfigPanel |
present() | Builds the panel view from the decoded configuration capture. | ConfigPanel |
Constants
Section titled “Constants”| Constant | Value | Description | Defined by |
|---|---|---|---|
ICON | \ | ConfigPanel | |
ID | \ | ConfigPanel | |
TITLE | \ | ConfigPanel |
Method details
Section titled “Method details”phpInfoUrl()
Section titled “phpInfoUrl() ”public function phpInfoUrl(string $url): selfReturns a new instance with the adapter-owned phpinfo URL.
Parameters
| Parameter | Type | Description |
|---|---|---|
$url | string | Adapter-resolved phpinfo URL, or '' to omit the call to action. |
Returns
self: New instance with the requested phpinfo URL.
present()
Section titled “present() ”public function present(array<string, mixed> $data): PHPForge\Debug\PanelViewBuilds the panel view from the decoded configuration capture.
Parameters
| Parameter | Type | Description |
|---|---|---|
$data | array<string, | Decoded panel payload with a data key holding the tagged configuration. |
Returns
PanelView: Identity overview, runtime sections, and the installed-extension roster.