ValidatorBase
in package
AbstractYes
Table of Contents
Constants
- EMAIL_LENGTH = 254
- WEBSITE_LENGTH = 2083
Properties
Methods
- isEmail() : bool
- isWebsite() : bool
- __construct() : mixed
Constants
EMAIL_LENGTH
public
mixed
EMAIL_LENGTH
= 254
WEBSITE_LENGTH
public
mixed
WEBSITE_LENGTH
= 2083
Properties
$receiver
protected
IValidationReceiver
$receiver
$validator
protected
Validator
$validator
Methods
isEmail()
public
final isEmail(string $key, string|null $value) : bool
Parameters
- $key : string
- $value : string|null
Return values
boolisWebsite()
public
final isWebsite(string $key, string|null $value) : bool
Parameters
- $key : string
- $value : string|null
Return values
bool__construct()
protected
__construct(IValidationReceiver $receiver, Validator $validator) : mixed
Parameters
- $receiver : IValidationReceiver
- $validator : Validator