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

Breadcrumb

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

function Comment::noClosingParenthesis

1 call to Comment::noClosingParenthesis()
Comment::parse in vendor/egulias/email-validator/src/Parser/Comment.php

File

vendor/egulias/email-validator/src/Parser/Comment.php, line 93

Class

Comment

Namespace

Egulias\EmailValidator\Parser

Code

private function noClosingParenthesis() : bool {
    try {
        $this->lexer
            ->find(EmailLexer::S_CLOSEPARENTHESIS);
        return false;
    } catch (\RuntimeException $e) {
        return true;
    }
}
RSS feed
Powered by Drupal