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