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 keyword text contains condition. Messages must have a keyword |
| 11 | * matching the specified text in order to match the condition. |
| 12 | */ |
| 13 | final class Keyword extends AbstractText |
| 14 | { |
| 15 | /** |
| 16 | * Returns the keyword that the condition represents. |
| 17 | */ |
| 18 | protected function getKeyword(): string |
| 19 | { |
| 20 | return 'KEYWORD'; |
| 21 | } |
| 22 | } |