protected function EmailParser::addLongEmailWarning in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/egulias/email-validator/src/Egulias/EmailValidator/EmailParser.php \Egulias\EmailValidator\EmailParser::addLongEmailWarning()
Parameters
string $localPart:
string $parsedDomainPart:
1 call to EmailParser::addLongEmailWarning()
- EmailParser::getWarnings in vendor/
egulias/ email-validator/ src/ Egulias/ EmailValidator/ EmailParser.php
File
- vendor/
egulias/ email-validator/ src/ Egulias/ EmailValidator/ EmailParser.php, line 94
Class
- EmailParser
- EmailParser
Namespace
Egulias\EmailValidatorCode
protected function addLongEmailWarning($localPart, $parsedDomainPart) {
if (strlen($localPart . '@' . $parsedDomainPart) > self::EMAIL_MAX_LENGTH) {
$this->warnings[] = EmailValidator::RFC5322_TOOLONG;
}
}