You are here

public function EmailValidator::__construct in Zircon Profile 8

Same name in this branch
  1. 8 vendor/symfony/validator/Constraints/EmailValidator.php \Symfony\Component\Validator\Constraints\EmailValidator::__construct()
  2. 8 vendor/egulias/email-validator/src/Egulias/EmailValidator/EmailValidator.php \Egulias\EmailValidator\EmailValidator::__construct()
Same name and namespace in other branches
  1. 8.0 vendor/egulias/email-validator/src/Egulias/EmailValidator/EmailValidator.php \Egulias\EmailValidator\EmailValidator::__construct()

File

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

Class

EmailValidator
EmailValidator

Namespace

Egulias\EmailValidator

Code

public function __construct() {
  $this->parser = new EmailParser(new EmailLexer());
}