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
$password
public
mixed
$password
$user
private
User
$user
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
Return values
mixed —resetPassword()
Resets password.
public
resetPassword() : bool
Return values
bool —if password was reset.
rules()
{@inheritdoc}
public
rules() : mixed