Validator
in package
Class that simplifies data checking. Returning true or false.
Table of Contents
- $validator : mixed
- __construct() : mixed
- isMail() : bool
Properties
$validator
private
mixed
$validator
Methods
__construct()
public
__construct(ValidatorInterface $validator) : mixed
Parameters
- $validator : ValidatorInterface
Return values
mixed —isMail()
public
isMail(string|null $value) : bool
Parameters
- $value : string|null