VerifyEmailForm
extends Model
in package
Table of Contents
- $token : string
- $user : User
- __construct() : mixed
- Creates a form model with given token.
- verifyEmail() : User|null
- Verify email
Properties
$token
public
string
$token
$user
private
User
$user
Methods
__construct()
Creates a form model with given 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 —verifyEmail()
Verify email
public
verifyEmail() : User|null
Return values
User|null —the saved model or null if saving fails