blob: 98df4fb5e63971f7fab3e3530a9f358c37ba72a7 [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 NEW condition. Only new messages will match this condition.
11 */
12final class NewMessage implements ConditionInterface
13{
14 /**
15 * Returns the keyword that the condition represents.
16 */
17 public function toString(): string
18 {
19 return 'NEW';
20 }
21}