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

Breadcrumb

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

interface CommentStrategy

Hierarchy

  • interface \Egulias\EmailValidator\Parser\CommentStrategy\CommentStrategy

Expanded class hierarchy of CommentStrategy

All classes that implement CommentStrategy

1 file declares its use of CommentStrategy
Comment.php in vendor/egulias/email-validator/src/Parser/Comment.php

File

vendor/egulias/email-validator/src/Parser/CommentStrategy/CommentStrategy.php, line 9

Namespace

Egulias\EmailValidator\Parser\CommentStrategy
View source
interface CommentStrategy {
    
    /**
     * Return "true" to continue, "false" to exit
     */
    public function exitCondition(EmailLexer $lexer, int $openedParenthesis) : bool;
    public function endOfLoopValidations(EmailLexer $lexer) : Result;
    
    /**
     * @return Warning[]
     */
    public function getWarnings() : array;

}

Members

Title Sort descending Modifiers Object type Summary Overrides
CommentStrategy::endOfLoopValidations public function 2
CommentStrategy::exitCondition public function Return "true" to continue, "false" to exit 2
CommentStrategy::getWarnings public function 2

API Navigation

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