UserAccountSettings
in package
implements
JsonSerializable
Table of Contents
Interfaces
- JsonSerializable
Properties
- $dateOfBirth : string|null
- $email : string|null
- $firstname : string|null
- $language : string|null
- $lastname : string|null
- $notificationEmail : string|null
- $originalDateOfBirth : string|null
- $password : string|null
- $passwordChanged : bool
- $phone : int|null
- $phoneCode : int|null
- $userId : int|null
Methods
- fromEntity() : self
- fromRequest() : void
- getDateOfBirth() : string|null
- Get the value of dateOfBirth
- getEmail() : string|null
- getFirstname() : string|null
- getLanguage() : string|null
- getLastname() : string|null
- getNotificationEmail() : string|null
- getOriginalDateOfBirth() : string|null
- Get the value of originalDateOfBirth
- getPassword() : string|null
- getPasswordChanged() : bool
- Get the value of passwordChanged
- getPhone() : mixed
- getPhoneCode() : mixed
- getUserId() : int|null
- Get $userId
- jsonSerialize() : mixed
- setDateOfBirth() : self
- Set the value of dateOfBirth
- setEmail() : void
- setFirstName() : void
- setLanguage() : void
- setLastname() : void
- setNotificationEmail() : self
- setOriginalDateOfBirth() : self
- Set the value of originalDateOfBirth
- setPassword() : void
- setPasswordChanged() : self
- Set the value of passwordChanged
- setPhone() : void
- setPhoneCode() : void
- setUserId() : self
- Set $userId
- toEntity() : UserAccount
- toValidatorArray() : array<string|int, mixed>
Properties
$dateOfBirth
private
string|null
$dateOfBirth
private
string|null
$email
$firstname
private
string|null
$firstname
$language
private
string|null
$language
$lastname
private
string|null
$lastname
$notificationEmail
private
string|null
$notificationEmail
$originalDateOfBirth
private
string|null
$originalDateOfBirth
$password
private
string|null
$password
$passwordChanged
private
bool
$passwordChanged
= false
$phone
private
int|null
$phone
$phoneCode
private
int|null
$phoneCode
$userId
private
int|null
$userId
Methods
fromEntity()
public
fromEntity(UserAccount $userAccount) : self
Parameters
- $userAccount : UserAccount
Return values
selffromRequest()
public
fromRequest(array<string|int, mixed> $data) : void
Parameters
- $data : array<string|int, mixed>
getDateOfBirth()
Get the value of dateOfBirth
public
getDateOfBirth() : string|null
Return values
string|nullgetEmail()
public
getEmail() : string|null
Return values
string|nullgetFirstname()
public
getFirstname() : string|null
Return values
string|nullgetLanguage()
public
getLanguage() : string|null
Return values
string|nullgetLastname()
public
getLastname() : string|null
Return values
string|nullgetNotificationEmail()
public
getNotificationEmail() : string|null
Return values
string|nullgetOriginalDateOfBirth()
Get the value of originalDateOfBirth
public
getOriginalDateOfBirth() : string|null
Return values
string|nullgetPassword()
public
getPassword() : string|null
Return values
string|nullgetPasswordChanged()
Get the value of passwordChanged
public
getPasswordChanged() : bool
Return values
boolgetPhone()
public
getPhone() : mixed
getPhoneCode()
public
getPhoneCode() : mixed
getUserId()
Get $userId
public
getUserId() : int|null
Return values
int|nulljsonSerialize()
public
jsonSerialize() : mixed
setDateOfBirth()
Set the value of dateOfBirth
public
setDateOfBirth(string|null $dateOfBirth) : self
Parameters
- $dateOfBirth : string|null
Return values
selfsetEmail()
public
setEmail(string|null $email) : void
Parameters
- $email : string|null
setFirstName()
public
setFirstName(string|null $firstname) : void
Parameters
- $firstname : string|null
setLanguage()
public
setLanguage(string|null $language) : void
Parameters
- $language : string|null
setLastname()
public
setLastname(string|null $lastname) : void
Parameters
- $lastname : string|null
setNotificationEmail()
public
setNotificationEmail(string|null $notificationEmail) : self
Parameters
- $notificationEmail : string|null
Return values
selfsetOriginalDateOfBirth()
Set the value of originalDateOfBirth
public
setOriginalDateOfBirth(string|null $originalDateOfBirth) : self
Parameters
- $originalDateOfBirth : string|null
Return values
selfsetPassword()
public
setPassword(string|null $password) : void
Parameters
- $password : string|null
setPasswordChanged()
Set the value of passwordChanged
public
setPasswordChanged(bool $passwordChanged) : self
Parameters
- $passwordChanged : bool
Return values
selfsetPhone()
public
setPhone(mixed $phone) : void
Parameters
- $phone : mixed
setPhoneCode()
public
setPhoneCode(mixed $phoneCode) : void
Parameters
- $phoneCode : mixed
setUserId()
Set $userId
public
setUserId(int|null $userId) : self
Parameters
- $userId : int|null
-
$userId
Return values
selftoEntity()
public
toEntity(UserAccount $userAccount) : UserAccount
Parameters
- $userAccount : UserAccount
Return values
UserAccounttoValidatorArray()
public
toValidatorArray() : array<string|int, mixed>