1 | <?php |
||
10 | class MessageIDValidation implements EmailValidation |
||
11 | { |
||
12 | |||
13 | /** |
||
14 | * @var array |
||
15 | */ |
||
16 | private $warnings = []; |
||
17 | |||
18 | /** |
||
19 | * @var ?InvalidEmail |
||
20 | */ |
||
21 | private $error; |
||
22 | |||
23 | 9 | public function isValid(string $email, EmailLexer $emailLexer): bool |
|
41 | |||
42 | public function getWarnings(): array |
||
46 | |||
47 | public function getError(): ?InvalidEmail |
||
51 | } |
||
52 |