You are here

protected function EmailLexer::isValid 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::isValid()
1 call to EmailLexer::isValid()
EmailLexer::getType in vendor/egulias/email-validator/src/Egulias/EmailValidator/EmailLexer.php
Retrieve token type. Also processes the token value if necessary.

File

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

Class

EmailLexer

Namespace

Egulias\EmailValidator

Code

protected function isValid($value) {
  if (isset($this->charValue[$value])) {
    return true;
  }
  return false;
}