POS - JoJaGaWi - API

ResetPasswordForm extends Model
in package

Password reset form

Table of Contents

$password  : mixed
$user  : User
__construct()  : mixed
Creates a form model given a token.
resetPassword()  : bool
Resets password.
rules()  : mixed
{@inheritdoc}

Properties

Methods

__construct()

Creates a form model given a token.

public __construct(string $token[, array<string|int, mixed> $config = [] ]) : mixed
Parameters
$token : string
$config : array<string|int, mixed> = []

name-value pairs that will be used to initialize the object properties

Tags
throws
InvalidArgumentException

if token is empty or not valid

Return values
mixed

resetPassword()

Resets password.

public resetPassword() : bool
Return values
bool

if password was reset.

Search results