Skip to content
PHP Ecosystem
Explore

UserIdentityView

API reference › Debug Core › Panel › User › UserIdentityView

final readonly classPHPForge\Debug\Panel\User\UserIdentityView
Sourcesrc/Panel/User/UserIdentityView.php

Typed top-level view-model for the user-identity card (hero + per-section attribute lists).

PropertyTypeDescriptionDefined by
$hero readonly constructorUserIdentityHeroHero card view-model.UserIdentityView
$sections readonly constructorlist<UserIdentitySection>Section view-models in display order; empty sections are filtered out by the normalizer.UserIdentityView
MethodDescriptionDefined by
__construct()Creates the user-identity card view.UserIdentityView
public function __construct(PHPForge\Debug\Panel\User\UserIdentityHero $hero, array $sections)

Creates the user-identity card view.

Parameters

ParameterTypeDescription
$heroUserIdentityHero
$sectionsarray