User
class User implements UserInterface, Serializable (View source)
Methods
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
Returns the roles or permissions granted to the user for security.
No description
Returns the salt that was originally used to encode the password.
Removes sensitive data from the user.
{@inheritdoc}
{@inheritdoc}
No description
No description
No description
No description
No description
No description
No description
Details
__construct()
int
getId()
void
setDisplayName(string $displayName)
string
getDisplayName()
__toString()
string
getUsername()
void
setUsername(string $username)
string
getEmail()
void
setEmail(string $email)
string
getPassword()
void
setPassword(string $password)
string|null
getPlainPassword()
User
setPlainPassword(string $plainPassword)
void
setStatus(string $status)
string|null
getStatus()
array
getRoles()
Returns the roles or permissions granted to the user for security.
void
setRoles(array $roles)
string|null
getSalt()
Returns the salt that was originally used to encode the password.
{@inheritdoc}
void
eraseCredentials()
Removes sensitive data from the user.
{@inheritdoc}
string
serialize()
{@inheritdoc}
void
unserialize($serialized)
{@inheritdoc}