23 lines
451 B
PHP
23 lines
451 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Ddeboer\Imap\Search\Flag;
|
|
|
|
use Ddeboer\Imap\Search\ConditionInterface;
|
|
|
|
/**
|
|
* Represents an ANSWERED flag condition. Messages must have the \\ANSWERED flag
|
|
* set in order to match the condition.
|
|
*/
|
|
final class Answered implements ConditionInterface
|
|
{
|
|
/**
|
|
* Returns the keyword that the condition represents.
|
|
*/
|
|
public function toString(): string
|
|
{
|
|
return 'ANSWERED';
|
|
}
|
|
}
|