UserIdentitySection
API reference › Debug Core › Panel › User › UserIdentitySection
Typed view-model for one section in the user-identity card (Identity / Security / Timestamps / Other).
Properties
Section titled “Properties”| Property | Type | Description | Defined by |
|---|---|---|---|
$attributes readonly constructor | list<UserAttribute> | Attribute rows rendered under the section header. | UserIdentitySection |
$icon readonly constructor | string | SVG icon glyph emitted into the section header chip. | UserIdentitySection |
$label readonly constructor | string | Section label shown in the section header (Identity, Security, …). | UserIdentitySection |
Methods
Section titled “Methods”| Method | Description | Defined by |
|---|---|---|
__construct() | Creates a section of user-identity attributes. | UserIdentitySection |
Method details
Section titled “Method details”__construct()
Section titled “__construct() ”public function __construct(string $label, string $icon, array $attributes)Creates a section of user-identity attributes.
Parameters
| Parameter | Type | Description |
|---|---|---|
$label | string | |
$icon | string | |
$attributes | array |