blob: d6d2d36ac2ca9c95c3156c5080b9313bd2f1ec06 [file] [log] [blame]
Matthias Andreas Benkardb382b102021-01-02 15:32:21 +01001<?php
2
3declare(strict_types=1);
4
5namespace Ddeboer\Imap\Search\State;
6
7use 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 */
13final 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}