You are here

public function EmailParser::__construct 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::__construct()

File

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

Class

EmailParser
EmailParser

Namespace

Egulias\EmailValidator

Code

public function __construct(EmailLexer $lexer) {
  $this->lexer = $lexer;
  $this->localPartParser = new LocalPart($this->lexer);
  $this->domainPartParser = new DomainPart($this->lexer);
}