Subversion-Projekte lars-tiefland.laravel_shop

Revision

Revision 148 | Details | Vergleich mit vorheriger | 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;
150 lars 7
use Egulias\EmailValidator\Warning\Warning;
148 lars 8
 
9
interface CommentStrategy
10
{
11
    /**
12
     * Return "true" to continue, "false" to exit
13
     */
150 lars 14
    public function exitCondition(EmailLexer $lexer, int $openedParenthesis): bool;
148 lars 15
 
150 lars 16
    public function endOfLoopValidations(EmailLexer $lexer): Result;
148 lars 17
 
150 lars 18
    /**
19
     * @return Warning[]
20
     */
21
    public function getWarnings(): array;
148 lars 22
}