• File: To.php
  • Full Path: /var/www/crm_set/application/vendor/ddeboer/imap/src/Search/Email/To.php
  • Date Modified: 09/21/2026 4:20 AM
  • File size: 479 bytes
  • MIME-type: text/x-php
  • Charset: utf-8
<?php

declare(strict_types=1);

namespace Ddeboer\Imap\Search\Email;

use Ddeboer\Imap\Search\AbstractText;

/**
 * Represents a "To" email address condition. Messages must have been addressed
 * to the specified recipient (along with any others) in order to match the
 * condition.
 */
final class To extends AbstractText
{
    /**
     * Returns the keyword that the condition represents.
     */
    protected function getKeyword(): string
    {
        return 'TO';
    }
}