Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. EmailLexer.php

function EmailLexer::isValid

1 call to EmailLexer::isValid()
EmailLexer::getType in vendor/egulias/email-validator/src/EmailLexer.php
Retrieve token type. Also processes the token value if necessary.

File

vendor/egulias/email-validator/src/EmailLexer.php, line 251

Class

EmailLexer
@extends AbstractLexer<int, string>

Namespace

Egulias\EmailValidator

Code

protected function isValid(string $value) : bool {
    return isset($this->charValue[$value]);
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal