NAME

Input::Validator::Constraint::Email - Email constraint

SYNOPSIS

$validator->field('email')->email;

DESCRIPTION

Checks whether a value looks like an email address. This is a very simple yet correct validation. It checks if an email has a correct length (name and domain) and has at least one dot in the domain.

METHODS

is_valid

Validates the constraint.

SEE ALSO

Input::Validator, Input::Constraint