Documentation

Reset extends Handler

Table of Contents

$errors  : array<string|int, mixed>
Store the error msgs.
error()  : array<string|int, mixed>
Store the error msgs.
fail()  : bool
check if the error has.
first()  : string
Get first errror msg .
get()  : array<string|int, mixed>
Get the error msg.
last()  : string
Get last error msg.
reset()  : void
Add the reset password request.
resetUpdate()  : void
check token is exists or not.
success()  : string
Get the success msg.

Properties

$errors

Store the error msgs.

protected array<string|int, mixed> $errors = []
Tags
since
1.0.0

Methods

error()

Store the error msgs.

public error() : array<string|int, mixed>
Return values
array<string|int, mixed>

fail()

check if the error has.

public fail() : bool
Return values
bool

first()

Get first errror msg .

public first([ $key = null ]) : string
Parameters
$key : = null

, like username (optional)

Return values
string

get()

Get the error msg.

public get([ $key = null ]) : array<string|int, mixed>
Parameters
$key : = null

, like username (optional)

Return values
array<string|int, mixed>

last()

Get last error msg.

public last([ $key = null ]) : string
Parameters
$key : = null

, like username (optional)

Return values
string

reset()

Add the reset password request.

public reset((string) $email) : void
Parameters
$email : (string)

email of user

Tags
since
1.0.0
Return values
void

resetUpdate()

check token is exists or not.

public resetUpdate((mixed) $token) : void
Parameters
$token : (mixed)

token of user

Tags
since
1.0.0
Return values
void

success()

Get the success msg.

public success() : string
Return values
string

Search results