public function __construct($value)
{
$filteredValue = filter_var($value, FILTER_VALIDATE_EMAIL);
if ($filteredValue === false) {
throw new InvalidNativeArgumentException($value, array('string (valid email address)'));
}
$this->value = $filteredValue;
}