blob: 09c3017b80e7ad238e1b49e3a42a339feec89a4a [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 message text contains condition. Messages must contain the
11 * specified text in order to match the condition.
12 */
13final class Text extends AbstractText
14{
15 /**
16 * Returns the keyword that the condition represents.
17 */
18 protected function getKeyword(): string
19 {
20 return 'TEXT';
21 }
22}