GenericUser
class GenericUser implements UserInterface (View source)
Properties
protected array | $attributes | All of the user's attributes. |
Methods
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. |
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.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/4.2/Illuminate/Auth/GenericUser.html