InvalidEmail
in package
implements
Result
Interfaces, Classes, Traits and Enums
Table of Contents
- $reason : Reason
- $token : mixed
- __construct() : mixed
- code() : int
- Code for user land to act upon.
- description() : string
- Short description of the result, human readable.
- isInvalid() : bool
- Is validation result invalid? Usually the inverse of isValid()
- isValid() : bool
- Is validation result valid?
- reason() : Reason
Properties
$reason
protected
Reason
$reason
$token
private
mixed
$token
Methods
__construct()
public
__construct(Reason $reason, string $token) : mixed
Parameters
- $reason : Reason
- $token : string
Return values
mixed —code()
Code for user land to act upon.
public
code() : int
Return values
int —description()
Short description of the result, human readable.
public
description() : string
Return values
string —isInvalid()
Is validation result invalid? Usually the inverse of isValid()
public
isInvalid() : bool
Return values
bool —isValid()
Is validation result valid?
public
isValid() : bool
Return values
bool —reason()
public
reason() : Reason