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