You are here

public function EmailLexer::reset in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/egulias/email-validator/src/Egulias/EmailValidator/EmailLexer.php \Egulias\EmailValidator\EmailLexer::reset()

Resets the lexer.

Return value

void

Overrides AbstractLexer::reset

File

vendor/egulias/email-validator/src/Egulias/EmailValidator/EmailLexer.php, line 82

Class

EmailLexer

Namespace

Egulias\EmailValidator

Code

public function reset() {
  $this->hasInvalidTokens = false;
  parent::reset();
}