class Validator extends Validator

TastyIgniter wrapper for the Laravel Validator class.

The only difference between this and the BaseValidator is that it resets the email validation rule to use the filter method by default.

Traits

Methods

bool
validateEmail(string $attribute, mixed $value, array $parameters)

Validate that an attribute is a valid e-mail address.

Details

in ValidatesEmail at line 26
bool validateEmail(string $attribute, mixed $value, array $parameters)

Validate that an attribute is a valid e-mail address.

Laravel 5.8 and above, by default, uses the RFCValidation provider as the default validation. We intend to use the FilterEmailValidation provider.

Parameters

string $attribute
mixed $value
array $parameters

Return Value

bool