Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. DomainPart.php

function DomainPart::parseComments

1 call to DomainPart::parseComments()
DomainPart::doParseDomainPart in vendor/egulias/email-validator/src/Parser/DomainPart.php

File

vendor/egulias/email-validator/src/Parser/DomainPart.php, line 136

Class

DomainPart

Namespace

Egulias\EmailValidator\Parser

Code

protected function parseComments() : Result {
    $commentParser = new Comment($this->lexer, new DomainComment());
    $result = $commentParser->parse();
    $this->warnings = [
        $this->warnings,
        $commentParser->getWarnings(),
    ];
    return $result;
}
RSS feed
Powered by Drupal