PhpInfoCompactModule
API reference › Debug Core › PhpInfo › PhpInfoCompactModule
Compact phpinfo module surfaced in the Overview instead of receiving an almost-empty standalone panel.
Properties
Section titled “Properties”| Property | Type | Description | Defined by |
|---|---|---|---|
$slug readonly constructor | string | Stable deep-link slug retained when the standalone panel is summarized in the Overview. | PhpInfoCompactModule |
$tiles readonly constructor | list<PhpInfoTile> | The module’s one or two informational values. | PhpInfoCompactModule |
$title readonly constructor | string | Module title reported by phpinfo(). | PhpInfoCompactModule |
Methods
Section titled “Methods”| Method | Description | Defined by |
|---|---|---|
__construct() | Creates a compact module for the phpinfo overview. | PhpInfoCompactModule |
Method details
Section titled “Method details”__construct()
Section titled “__construct() ”public function __construct(string $title, string $slug, array $tiles)Creates a compact module for the phpinfo overview.
Parameters
| Parameter | Type | Description |
|---|---|---|
$title | string | |
$slug | string | |
$tiles | array |