Documentation

GenericUser
in package
implements Authenticatable

Interfaces, Classes and Traits

Authenticatable

Table of Contents

$attributes  : array<string|int, mixed>
All of the user's attributes.
__construct()  : void
Create a new generic User object.
__get()  : mixed
Dynamically access the user's attributes.
__isset()  : bool
Dynamically check if a value is set on the user.
__set()  : void
Dynamically set an attribute on the user.
__unset()  : void
Dynamically unset a value on the user.
getAuthIdentifier()  : mixed
Get the unique identifier for the user.
getAuthIdentifierName()  : string
Get the name of the unique identifier for the user.
getAuthPassword()  : string
Get the password for the user.
getRememberToken()  : string
Get the "remember me" token value.
getRememberTokenName()  : string
Get the column name for the "remember me" token.
setRememberToken()  : void
Set the "remember me" token value.

Properties

$attributes

All of the user's attributes.

protected array<string|int, mixed> $attributes

Methods

__construct()

Create a new generic User object.

public __construct(array<string|int, mixed> $attributes) : void
Parameters
$attributes : array<string|int, mixed>
Return values
void

__get()

Dynamically access the user's attributes.

public __get(string $key) : mixed
Parameters
$key : string
Return values
mixed

__isset()

Dynamically check if a value is set on the user.

public __isset(string $key) : bool
Parameters
$key : string
Return values
bool

__set()

Dynamically set an attribute on the user.

public __set(string $key, mixed $value) : void
Parameters
$key : string
$value : mixed
Return values
void

__unset()

Dynamically unset a value on the user.

public __unset(string $key) : void
Parameters
$key : string
Return values
void

getAuthIdentifier()

Get the unique identifier for the user.

public getAuthIdentifier() : mixed
Return values
mixed

getAuthIdentifierName()

Get the name of the unique identifier for the user.

public getAuthIdentifierName() : string
Return values
string

getAuthPassword()

Get the password for the user.

public getAuthPassword() : string
Return values
string

getRememberToken()

Get the "remember me" token value.

public getRememberToken() : string
Return values
string

getRememberTokenName()

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

public getRememberTokenName() : string
Return values
string

setRememberToken()

Set the "remember me" token value.

public setRememberToken(string $value) : void
Parameters
$value : string
Return values
void

Search results