//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();
} $this->warnings
[AddressLiteral::CODE
] =
new AddressLiteral();
$this->
checkIPV6Tag($addressLiteral);
return new ValidEmail();
} /**
* @param string $addressLiteral
* @param int $maxGroups
*/