POS - JoJaGaWi - API

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

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
throws
InvalidArgumentException

if token is empty or not valid

Return values
mixed

verifyEmail()

Verify email

public verifyEmail() : User|null
Return values
User|null

the saved model or null if saving fails

Search results