class Illuminate / Auth / GenericUser
You are viewing an older version of the documentation. For the latest, please visit master documentation.

GenericUser

Implements

Properties

protected

$attributes array

All of the user's attributes.

Default: null

Methods

public

__construct ( array $attributes ) : void

Create a new generic User object.

Parameters

  • $attributes array
public

getAuthIdentifierName ( ) : string

Get the name of the unique identifier for the user.

public

getAuthIdentifier ( ) : mixed

Get the unique identifier for the user.

public

getAuthPassword ( ) : string

Get the password for the user.

public

getRememberToken ( ) : string

Get the "remember me" token value.

public

setRememberToken ( $value ) : void

Set the "remember me" token value.

Parameters

  • $value string
public

getRememberTokenName ( ) : string

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

public

__get ( $key ) : mixed

Dynamically access the user's attributes.

Parameters

  • $key string
public

__set ( $key , $value ) : void

Dynamically set an attribute on the user.

Parameters

  • $key string
  • $value mixed
public

__isset ( $key ) : bool

Dynamically check if a value is set on the user.

Parameters

  • $key string
public

__unset ( $key ) : void

Dynamically unset a value on the user.

Parameters

  • $key string