class FilterEmailValidation implements EmailValidation (View source)
protected int|null | $flags | The flags to pass to the filter_var function. |
void | __construct(int $flags = null) Create a new validation instance. | |
static FilterEmailValidation | unicode() Create a new instance which allows any unicode characters in local-part. | |
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. |
Create a new validation instance.
Create a new instance which allows any unicode characters in local-part.
Returns true if the given email is valid.
Returns the validation error.
Returns the validation warnings.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/8.x/Illuminate/Validation/Concerns/FilterEmailValidation.html