PHP Class Neos\Flow\Validation\Validator\EmailAddressValidator

Inheritance: extends AbstractValidator
Show file Open project: neos/flow-development-collection

Protected Methods

Method Description
isValid ( mixed $value ) : void Checks if the given value is a valid email address.
validEmail ( string $emailAddress ) : boolean Checking syntax of input email address

Method Details

isValid() protected method

Checks if the given value is a valid email address.
protected isValid ( mixed $value ) : void
$value mixed The value that should be validated
return void

validEmail() protected method

Checking syntax of input email address
protected validEmail ( string $emailAddress ) : boolean
$emailAddress string Input string to evaluate
return boolean Returns TRUE if the $email address (input string) is valid