UserIdentityView
API reference › Debug Core › Panel › User › UserIdentityView
Typed top-level view-model for the user-identity card (hero + per-section attribute lists).
Properties
Section titled “Properties”| Property | Type | Description | Defined by |
|---|---|---|---|
$hero readonly constructor | UserIdentityHero | Hero card view-model. | UserIdentityView |
$sections readonly constructor | list<UserIdentitySection> | Section view-models in display order; empty sections are filtered out by the normalizer. | UserIdentityView |
Methods
Section titled “Methods”| Method | Description | Defined by |
|---|---|---|
__construct() | Creates the user-identity card view. | UserIdentityView |
Method details
Section titled “Method details”__construct()
Section titled “__construct() ”public function __construct(PHPForge\Debug\Panel\User\UserIdentityHero $hero, array $sections)Creates the user-identity card view.
Parameters
| Parameter | Type | Description |
|---|---|---|
$hero | UserIdentityHero | |
$sections | array |