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
*/
public function checkIPV6Tag($addressLiteral,
$maxGroups = 8
): void
{