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\Date; | ||||
6 | |||||
7 | use Ddeboer\Imap\Search\AbstractDate; | ||||
8 | |||||
9 | /** | ||||
10 | * Represents a date before condition. Messages must have a date before the | ||||
11 | * specified date in order to match the condition. | ||||
12 | */ | ||||
13 | final class Before extends AbstractDate | ||||
14 | { | ||||
15 | /** | ||||
16 | * Returns the keyword that the condition represents. | ||||
17 | */ | ||||
18 | protected function getKeyword(): string | ||||
19 | { | ||||
20 | return 'BEFORE'; | ||||
21 | } | ||||
22 | } |