PhpInfoToken
API reference › Debug Core › PhpInfo › PhpInfoToken
Typed view-model for one token inside a PhpInfoTile::KIND_PATH_LIST / PhpInfoTile::KIND_TOKEN_LIST
tile.
Properties
Section titled “Properties”| Property | Type | Description | Defined by |
|---|---|---|---|
$label readonly constructor | string | Display text shown inside the <code> token (for path lists this is the basename only). | PhpInfoToken |
$title readonly constructor | string | Full path / value surfaced in the token’s PhpInfoToken::$title tooltip; empty when the label IS the full value (short-token lists). Default: ''. | PhpInfoToken |
Methods
Section titled “Methods”| Method | Description | Defined by |
|---|---|---|
__construct() | Creates a token for a phpinfo overview tile. | PhpInfoToken |
Method details
Section titled “Method details”__construct()
Section titled “__construct() ”public function __construct(string $label, string $title = '')Creates a token for a phpinfo overview tile.
Parameters
| Parameter | Type | Description |
|---|---|---|
$label | string | |
$title | string |