if ($this->lexer->current->
isA(EmailLexer::S_CLOSEBRACKET
)) { break;
} $addressLiteral .=
$this->lexer->current->value;
} while ($this->lexer->
moveNext());
//Encapsulate
$addressLiteral =
str_replace('[', '',
$addressLiteral);
$isAddressLiteralIPv4 =
$this->
checkIPV4Tag($addressLiteral);
if (!
$isAddressLiteralIPv4) { return new ValidEmail();
} else { $addressLiteral =
$this->
convertIPv4ToIPv6($addressLiteral);
} if (!
$IPv6TAG) { $this->warnings
[WarningDomainLiteral::CODE
] =
new WarningDomainLiteral();
return new ValidEmail();
}