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