PHP Class Owl\Repositories\Eloquent\Models\User

Inheritance: extends Illuminate\Database\Eloquent\Model
Show file Open project: owl/owl Class Usage Examples

Protected Properties

Property Type Description
$fillable
$hidden array The attributes excluded from the model's JSON form.
$table string The database table used by the model.

Public Methods

Method Description
getAuthIdentifier ( ) : mixed Get the unique identifier for the user.
getAuthPassword ( ) : string Get the password for the user.
getRememberToken ( ) : string Get the token value for the "remember me" session.
getRememberTokenName ( ) : string Get the column name for the "remember me" token.
getReminderEmail ( ) : string Get the e-mail address where password reminders are sent.
item ( )
setRememberToken ( string $value ) : void Set the token value for the "remember me" session.
userRole ( )

Method Details

getAuthIdentifier() public method

Get the unique identifier for the user.
public getAuthIdentifier ( ) : mixed
return mixed

getAuthPassword() public method

Get the password for the user.
public getAuthPassword ( ) : string
return string

getRememberToken() public method

Get the token value for the "remember me" session.
public getRememberToken ( ) : string
return string

getRememberTokenName() public method

Get the column name for the "remember me" token.
public getRememberTokenName ( ) : string
return string

getReminderEmail() public method

Get the e-mail address where password reminders are sent.
public getReminderEmail ( ) : string
return string

item() public method

public item ( )

setRememberToken() public method

Set the token value for the "remember me" session.
public setRememberToken ( string $value ) : void
$value string
return void

userRole() public method

public userRole ( )

Property Details

$fillable protected property

protected $fillable

$hidden protected property

The attributes excluded from the model's JSON form.
protected array $hidden
return array

$table protected property

The database table used by the model.
protected string $table
return string