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\State; |
| 6 | |
| 7 | use Ddeboer\Imap\Search\ConditionInterface; |
| 8 | |
| 9 | /** |
| 10 | * Represents a UNDELETED condition. Messages must not have been marked for |
| 11 | * deletion in order to match the condition. |
| 12 | */ |
| 13 | final class Undeleted implements ConditionInterface |
| 14 | { |
| 15 | /** |
| 16 | * Returns the keyword that the condition represents. |
| 17 | */ |
| 18 | public function toString(): string |
| 19 | { |
| 20 | return 'UNDELETED'; |
| 21 | } |
| 22 | } |