class GenericUser implements Authenticatable

Methods

__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
getAuthPasswordName()

Get the name of the password attribute for the user.

string|null
getAuthPassword()

Get the password for the user.

string|null
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

at line 14
__construct(array $attributes)

Create a new generic User object.

Parameters

array $attributes

at line 22
string getAuthIdentifierName()

Get the name of the unique identifier for the user.

Return Value

string

at line 30
mixed getAuthIdentifier()

Get the unique identifier for the user.

Return Value

mixed

at line 38
string getAuthPasswordName()

Get the name of the password attribute for the user.

Return Value

string

at line 46
string|null getAuthPassword()

Get the password for the user.

Return Value

string|null

at line 54
string|null getRememberToken()

Get the "remember me" token value.

Return Value

string|null

at line 62
void setRememberToken(string $value)

Set the "remember me" token value.

Parameters

string $value

Return Value

void

at line 70
string getRememberTokenName()

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

Return Value

string

at line 78
mixed __get(string $key)

Dynamically access the user's attributes.

Parameters

string $key

Return Value

mixed

at line 86
void __set(string $key, mixed $value)

Dynamically set an attribute on the user.

Parameters

string $key
mixed $value

Return Value

void

at line 94
bool __isset(string $key)

Dynamically check if a value is set on the user.

Parameters

string $key

Return Value

bool

at line 102
void __unset(string $key)

Dynamically unset a value on the user.

Parameters

string $key

Return Value

void