Method |
Description |
|
__construct ( ) |
Constructor. |
|
eraseCredentials ( ) |
Removes the password of the user. |
|
getApiKey ( ) : string |
Get apiKey. |
|
getConfirmationKey ( ) : string |
Get confirmationKey. |
|
getEmail ( ) : string |
Get email. |
|
getEnabled ( ) |
|
|
getFullName ( ) : string |
|
|
getId ( ) : integer |
Get id. |
|
getLastLogin ( ) : DateTime |
Get lastLogin. |
|
getLocale ( ) : string |
Get locale. |
|
getLocked ( ) |
|
|
getPassword ( ) : string |
Get password. |
|
getPasswordResetToken ( ) : string |
Get passwordResetToken. |
|
getPasswordResetTokenEmailsSent ( ) : integer |
Get passwordResetTokenEmailsSent. |
|
getPasswordResetTokenExpiresAt ( ) : DateTime |
Get passwordResetTokenExpiresAt. |
|
getPrivateKey ( ) : string |
Get privateKey. |
|
getRoles ( ) : array |
Returns just the default symfony user role, so that the user get recognized as authenticated by symfony. |
|
getSalt ( ) : string |
Get salt. |
|
getUsername ( ) : string |
Get username. |
|
serialize ( ) : string |
Serializes the user just with the id, as it is enough. |
|
setApiKey ( string $apiKey ) : self |
Set apiKey. |
|
setConfirmationKey ( string $confirmationKey ) : self |
Set confirmationKey. |
|
setEmail ( string $email ) : BaseUser |
Set email. |
|
setEnabled ( boolean $enabled ) : self |
Set enabled. |
|
setLastLogin ( DateTime $lastLogin ) : self |
Set lastLogin. |
|
setLocale ( string $locale ) : self |
Set locale. |
|
setLocked ( boolean $locked ) : self |
Set locked. |
|
setPassword ( string $password ) : self |
Set password. |
|
setPasswordResetToken ( string $passwordResetToken ) : self |
Set passwordResetToken. |
|
setPasswordResetTokenEmailsSent ( integer $passwordResetTokenEmailsSent ) : BaseUser |
Set passwordResetTokenEmailsSent. |
|
setPasswordResetTokenExpiresAt ( DateTime $passwordResetTokenExpiresAt ) : BaseUser |
Set tokenExpiresAt. |
|
setPrivateKey ( string $privateKey ) : self |
Set privateKey. |
|
setSalt ( string $salt ) : self |
Set salt. |
|
setUsername ( string $username ) : self |
Set username. |
|
unserialize ( string $serialized ) |
Constructs the object. |
|