class GenericUser implements Authenticatable (View source)

Properties

protected array $attributes

All of the user's attributes.

Methods

void
__construct(array $attributes)

Create a new generic User object.

string
getAuthIdentifierName()

Get the name of the unique identifier for the user.

mixed
getAuthIdentifier()

Get the unique identifier for the user.

string
getAuthPassword()

Get the password for the user.

string
getRememberToken()

Get the "remember me" token value.

void
setRememberToken(string $value)

Set the "remember me" token value.

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.

Parameters

array $attributes

Return Value

void

string getAuthIdentifierName()

Get the name of the unique identifier for the user.

Return Value

string

mixed getAuthIdentifier()

Get the unique identifier for the user.

Return Value

mixed

string getAuthPassword()

Get the password for the user.

Return Value

string

string getRememberToken()

Get the "remember me" token value.

Return Value

string

void setRememberToken(string $value)

Set the "remember me" token value.

Parameters

string $value

Return Value

void

string getRememberTokenName()

Get the column name for the "remember me" token.

Return Value

string

mixed __get(string $key)

Dynamically access the user's attributes.

Parameters

string $key

Return Value

mixed

void __set(string $key, mixed $value)

Dynamically set an attribute on the user.

Parameters

string $key
mixed $value

Return Value

void

bool __isset(string $key)

Dynamically check if a value is set on the user.

Parameters

string $key

Return Value

bool

void __unset(string $key)

Dynamically unset a value on the user.

Parameters

string $key

Return Value

void