protected function Parser::isUnclosedComment in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/egulias/email-validator/src/Egulias/EmailValidator/Parser/Parser.php \Egulias\EmailValidator\Parser\Parser::isUnclosedComment()
2 calls to Parser::isUnclosedComment()
- DomainPart::parseDomainComments in vendor/
egulias/ email-validator/ src/ Egulias/ EmailValidator/ Parser/ DomainPart.php - Parser::parseComments in vendor/
egulias/ email-validator/ src/ Egulias/ EmailValidator/ Parser/ Parser.php
File
- vendor/
egulias/ email-validator/ src/ Egulias/ EmailValidator/ Parser/ Parser.php, line 61
Class
Namespace
Egulias\EmailValidator\ParserCode
protected function isUnclosedComment() {
try {
$this->lexer
->find(EmailLexer::S_CLOSEPARENTHESIS);
return true;
} catch (\RuntimeException $e) {
throw new \InvalidArgumentException('ERR_UNCLOSEDCOMMENT');
}
}