You are here

protected function EmailParser::hasAtToken in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/egulias/email-validator/src/Egulias/EmailValidator/EmailParser.php \Egulias\EmailValidator\EmailParser::hasAtToken()
1 call to EmailParser::hasAtToken()
EmailParser::parse in vendor/egulias/email-validator/src/Egulias/EmailValidator/EmailParser.php

File

vendor/egulias/email-validator/src/Egulias/EmailValidator/EmailParser.php, line 79

Class

EmailParser
EmailParser

Namespace

Egulias\EmailValidator

Code

protected function hasAtToken() {
  $this->lexer
    ->moveNext();
  $this->lexer
    ->moveNext();
  if ($this->lexer->token['type'] === EmailLexer::S_AT) {
    return false;
  }
  return true;
}