AbstractUser
abstract class AbstractUser implements ArrayAccess, User
Properties
| mixed | $id | The unique identifier for the user. |
|
| string|null | $nickname | The user's nickname / username. |
|
| string|null | $name | The user's full name. |
|
| string|null | The user's e-mail address. |
||
| string|null | $avatar | The user's avatar image URL. |
|
| array | $user | The user's raw attributes. |
|
| array | $attributes | The user's other attributes. |
Methods
Get the unique identifier for the user.
Get the nickname / username for the user.
Get the full name of the user.
Get the e-mail address of the user.
Get the avatar / image URL for the user.
Get the raw user array.
Set the raw user array from the provider.
Map the given array onto the user's properties.
Determine if the given raw user attribute exists.
Get the given key from the raw user.
Set the given attribute on the raw user array.
Unset the given value from the raw user array.
Get a user attribute value dynamically.
Details
at line 50
mixed
getId()
Get the unique identifier for the user.
at line 58
string|null
getNickname()
Get the nickname / username for the user.
at line 66
string|null
getName()
Get the full name of the user.
at line 74
string|null
getEmail()
Get the e-mail address of the user.
at line 82
string|null
getAvatar()
Get the avatar / image URL for the user.
at line 90
array
getRaw()
Get the raw user array.
at line 98
AbstractUser
setRaw(array $user)
Set the raw user array from the provider.
at line 108
AbstractUser
map(array $attributes)
Map the given array onto the user's properties.
at line 124
bool
offsetExists(mixed $offset)
Determine if the given raw user attribute exists.
at line 132
mixed
offsetGet(mixed $offset)
Get the given key from the raw user.
at line 140
void
offsetSet(mixed $offset, mixed $value)
Set the given attribute on the raw user array.
at line 148
void
offsetUnset(mixed $offset)
Unset the given value from the raw user array.
at line 156
mixed
__get(string $key)
Get a user attribute value dynamically.