ValidatesEmail
trait Winter\Storm\Validation\Concerns\ValidatesEmail
Methods
public validateEmail (string $attribute, mixed $value, array $parameters) : bool
Validate that an attribute is a valid e-mail address.
Laravel 5.8 and above, by default, use the RFCValidation provider as the default validation. To keep backwards compatibility, we intend to use the FilterEmailValidation provider.
Parameters
Property | Type | Description |
---|---|---|
$attribute | string |
string
|
$value | mixed |
mixed
|
$parameters | array |
array
|
Returns
bool
Used by
Class | Description |
---|---|
Validator
|
Winter CMS wrapper for the Laravel Validator class. |
← Previous page
Winter\Storm\Validation\Concerns\FormatsMessages
Next page →
Winter\Storm\Validation\Factory
Copyright © 2024 Winter CMS