GenericUser
class GenericUser implements UserInterface (View source)
Properties
protected array | $attributes | All of the user's attributes. |
Methods
Create a new generic User object.
Get the unique identifier for the user.
Get the password for the user.
Get the token value for the "remember me" session.
Set the token value for the "remember me" session.
Get the column name for the "remember me" token.
Dynamically access the user's attributes.
Dynamically set an attribute on the user.
Dynamically check if a value is set on the user.
Dynamically unset a value on the user.
Details
void
__construct(array $attributes)
Create a new generic User object.
mixed
getAuthIdentifier()
Get the unique identifier for the user.
string
getAuthPassword()
Get the password for the user.
string
getRememberToken()
Get the token value for the "remember me" session.
void
setRememberToken(string $value)
Set the token value for the "remember me" session.
string
getRememberTokenName()
Get the column name for the "remember me" token.
mixed
__get(string $key)
Dynamically access the user's attributes.
void
__set(string $key, mixed $value)
Dynamically set an attribute on the user.
bool
__isset(string $key)
Dynamically check if a value is set on the user.
void
__unset(string $key)
Dynamically unset a value on the user.