trait Email (View source)

Methods

array
compileEmail(string $key, string $masque)

Compile Email Rule

Details

protected array compileEmail(string $key, string $masque)

Compile Email Rule

[email] Check that the content of the field is an email

Parameters

string $key
string $masque

Return Value

array