class User extends Person implements UserInterface (View source)

Domain Model of a User

Properties

protected UserPreferences $preferences

Preferences of this user

Methods

__construct()

Constructs this User object

string
getLabel()

Returns a label which can be used as a human-friendly identifier for this user.

getPreferences()

No description

void
setPreferences(UserPreferences $preferences)

No description

bool
isActive()

Checks if at least one account of this user ist active

Details

__construct()

Constructs this User object

string getLabel()

Returns a label which can be used as a human-friendly identifier for this user.

Return Value

string

UserPreferences getPreferences()

No description

Return Value

UserPreferences

void setPreferences(UserPreferences $preferences)

No description

Parameters

UserPreferences $preferences

Return Value

void

bool isActive()

Checks if at least one account of this user ist active

Return Value

bool