Zur aktuellen Revision |
Details |
Letzte Änderung |
Log anzeigen
| RSS feed
| Revision |
Autor |
Zeilennr. |
Zeile |
| 148 |
lars |
1 |
<?php
|
|
|
2 |
|
|
|
3 |
namespace Egulias\EmailValidator\Parser\CommentStrategy;
|
|
|
4 |
|
|
|
5 |
use Egulias\EmailValidator\EmailLexer;
|
|
|
6 |
use Egulias\EmailValidator\Result\Result;
|
|
|
7 |
|
|
|
8 |
interface CommentStrategy
|
|
|
9 |
{
|
|
|
10 |
/**
|
|
|
11 |
* Return "true" to continue, "false" to exit
|
|
|
12 |
*/
|
|
|
13 |
public function exitCondition(EmailLexer $lexer, int $openedParenthesis) : bool;
|
|
|
14 |
|
|
|
15 |
public function endOfLoopValidations(EmailLexer $lexer) : Result;
|
|
|
16 |
|
|
|
17 |
public function getWarnings() : array;
|
|
|
18 |
}
|