Matthias Andreas Benkard | b382b10 | 2021-01-02 15:32:21 +0100 | [diff] [blame^] | 1 | <?php |
2 | |||||
3 | declare(strict_types=1); | ||||
4 | |||||
5 | namespace Ddeboer\Imap\Search\Text; | ||||
6 | |||||
7 | use Ddeboer\Imap\Search\AbstractText; | ||||
8 | |||||
9 | /** | ||||
10 | * Represents a message text contains condition. Messages must contain the | ||||
11 | * specified text in order to match the condition. | ||||
12 | */ | ||||
13 | final class Text extends AbstractText | ||||
14 | { | ||||
15 | /** | ||||
16 | * Returns the keyword that the condition represents. | ||||
17 | */ | ||||
18 | protected function getKeyword(): string | ||||
19 | { | ||||
20 | return 'TEXT'; | ||||
21 | } | ||||
22 | } |