mirror of
https://github.com/Combodo/iTop.git
synced 2026-03-02 07:34:13 +01:00
* N°7920 - laminas-mail is an abandoned package, replace it with symfony/mailer * Fix composer following merge
23 lines
525 B
PHP
23 lines
525 B
PHP
<?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;
|
|
}
|