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

Breadcrumb

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

function Parser::hasAtToken

2 calls to Parser::hasAtToken()
EmailParser::preLeftParsing in vendor/egulias/email-validator/src/EmailParser.php
MessageIDParser::preLeftParsing in vendor/egulias/email-validator/src/MessageIDParser.php

File

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

Class

Parser

Namespace

Egulias\EmailValidator

Code

protected function hasAtToken() : bool {
    $this->lexer
        ->moveNext();
    $this->lexer
        ->moveNext();
    return !$this->lexer->current
        ->isA(EmailLexer::S_AT);
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal