Skip to content
PHP Ecosystem
Explore

PhpInfoCompactModule

API reference › Debug Core › PhpInfo › PhpInfoCompactModule

final readonly classPHPForge\Debug\PhpInfo\PhpInfoCompactModule
Sourcesrc/PhpInfo/PhpInfoCompactModule.php

Compact phpinfo module surfaced in the Overview instead of receiving an almost-empty standalone panel.

PropertyTypeDescriptionDefined by
$slug readonly constructorstringStable deep-link slug retained when the standalone panel is summarized in the Overview.PhpInfoCompactModule
$tiles readonly constructorlist<PhpInfoTile>The module’s one or two informational values.PhpInfoCompactModule
$title readonly constructorstringModule title reported by phpinfo().PhpInfoCompactModule
MethodDescriptionDefined by
__construct()Creates a compact module for the phpinfo overview.PhpInfoCompactModule
public function __construct(string $title, string $slug, array $tiles)

Creates a compact module for the phpinfo overview.

Parameters

ParameterTypeDescription
$titlestring
$slugstring
$tilesarray