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

Breadcrumb

  1. Drupal Core 11.1.x

CommentStrategy.php

Namespace

Egulias\EmailValidator\Parser\CommentStrategy

File

vendor/egulias/email-validator/src/Parser/CommentStrategy/CommentStrategy.php

View source
<?php

namespace Egulias\EmailValidator\Parser\CommentStrategy;

use Egulias\EmailValidator\EmailLexer;
use Egulias\EmailValidator\Result\Result;
use Egulias\EmailValidator\Warning\Warning;
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;

}

Interfaces

Title Deprecated Summary
CommentStrategy

API Navigation

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