PasswordReset
extends Model
in package
Password Reset Model Inherits from the Model class of Laravel
Tags
Table of Contents
- $expiration : mixed
- $incrementing : mixed
- $timestamps : mixed
- $token : string
- $user_id : int
- $fillable : mixed
- $keyType : mixed
- $primaryKey : mixed
- $table : mixed
- expired() : bool
- Check if a list is expired
- where() :
- whereToken() :
Properties
$expiration
public
mixed
$expiration
$incrementing
public
mixed
$incrementing
= false
$timestamps
public
mixed
$timestamps
= false
$token
public
string
$token
$user_id
public
int
$user_id
$fillable
protected
mixed
$fillable
= ['token', 'user_id', 'expiration']
$keyType
protected
mixed
$keyType
= 'string'
$primaryKey
protected
mixed
$primaryKey
= 'token'
$table
protected
mixed
$table
= 'passwords_reset'
Methods
expired()
Check if a list is expired
public
expired() : bool
Return values
bool —true if the token is expired, false otherwise
where()
public
static where(string $string, string $string1, string $string2) :
Eloquent method
Parameters
- $string : string
- $string1 : string
- $string2 : string
Return values
—whereToken()
public
static whereToken(string $token) :
Eloquent method
Parameters
- $token : string