class FilterEmailValidation implements EmailValidation (View source)

Methods

bool
isValid(string $email, EmailLexer $emailLexer)

Returns true if the given email is valid.

InvalidEmail|null
getError()

Returns the validation error.

Warning[]
getWarnings()

Returns the validation warnings.

Details

bool isValid(string $email, EmailLexer $emailLexer)

Returns true if the given email is valid.

Parameters

string $email
EmailLexer $emailLexer

Return Value

bool

InvalidEmail|null getError()

Returns the validation error.

Return Value

InvalidEmail|null

Warning[] getWarnings()

Returns the validation warnings.

Return Value

Warning[]