You are here

protected function EmailLexer::isNullType 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::isNullType()

Parameters

$value:

Return value

bool

1 call to EmailLexer::isNullType()
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 197

Class

EmailLexer

Namespace

Egulias\EmailValidator

Code

protected function isNullType($value) {
  if ($value === "\0") {
    return true;
  }
  return false;
}