welcome back to dyb-tech
This commit is contained in:
+22
@@ -0,0 +1,22 @@
|
||||
<?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;
|
||||
}
|
||||
Reference in New Issue
Block a user