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

Breadcrumb

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

function DomainLiteral::addObsoleteWarnings

1 call to DomainLiteral::addObsoleteWarnings()
DomainLiteral::parse in vendor/egulias/email-validator/src/Parser/DomainLiteral.php

File

vendor/egulias/email-validator/src/Parser/DomainLiteral.php, line 190

Class

DomainLiteral

Namespace

Egulias\EmailValidator\Parser

Code

private function addObsoleteWarnings() : void {
    if (in_array($this->lexer->current->type, self::OBSOLETE_WARNINGS)) {
        $this->warnings[ObsoleteDTEXT::CODE] = new ObsoleteDTEXT();
    }
}
RSS feed
Powered by Drupal