trait UserDefaultTrait

Trait UserAddressTrait

Properties

private string $gender Gender for the user
private string $firstname Firstname for the user
private string $lastname Lastname for the user
private string $avatar url used for the Avatar for the user
private DateTime $latestSignin DateTime of latest sign-in
private DateTime $latestSignout DateTime of latest sign-out
private string $locale Locale for the user

Methods

setGender(string|null $gender)

Set gender

string|null
getGender()

Get gender

setFirstname(string|null $firstname)

Set firstname

string|null
getFirstname()

Get firstname

setLastname(string|null $lastname)

Set lastname

string|null
getLastname()

Get lastname

setAvatar(string|null $avatar)

Set avatar

string|null
getAvatar()

Get avatar

setLatestSignin(DateTimeInterface|null $latestSignin)

Set latestSignin

getLatestSignin()

Get latestSignin

setLatestSignout(DateTimeInterface|null $latestSignout)

Set latestSignout

getLatestSignout()

Get latestSignout

setLocale(string|null $locale)

Set locale

string|null
getLocale()

Get locale

Details

at line 104
UserLight setGender(string|null $gender)

Set gender

Parameters

string|null $gender Gender

Return Value

UserLight

at line 114
string|null getGender()

Get gender

Return Value

string|null

at line 124
UserLight setFirstname(string|null $firstname)

Set firstname

Parameters

string|null $firstname Firstname

Return Value

UserLight

at line 134
string|null getFirstname()

Get firstname

Return Value

string|null

at line 144
UserLight setLastname(string|null $lastname)

Set lastname

Parameters

string|null $lastname Lastname

Return Value

UserLight

at line 154
string|null getLastname()

Get lastname

Return Value

string|null

at line 164
UserLight setAvatar(string|null $avatar)

Set avatar

Parameters

string|null $avatar Avatar url

Return Value

UserLight

at line 174
string|null getAvatar()

Get avatar

Return Value

string|null

at line 184
UserLight setLatestSignin(DateTimeInterface|null $latestSignin)

Set latestSignin

Parameters

DateTimeInterface|null $latestSignin Datetime for latest signin

Return Value

UserLight

at line 194
DateTimeInterface|null getLatestSignin()

Get latestSignin

Return Value

DateTimeInterface|null

at line 204
UserLight setLatestSignout(DateTimeInterface|null $latestSignout)

Set latestSignout

Parameters

DateTimeInterface|null $latestSignout Datetime for latest signout

Return Value

UserLight

at line 214
DateTimeInterface getLatestSignout()

Get latestSignout

Return Value

DateTimeInterface

at line 224
UserLight setLocale(string|null $locale)

Set locale

Parameters

string|null $locale Locale

Return Value

UserLight

at line 234
string|null getLocale()

Get locale

Return Value

string|null