2017-08-12 01:25:32 +02:00
|
|
|
<?php
|
2019-02-25 19:27:36 +01:00
|
|
|
|
|
|
|
/*
|
|
|
|
* This file is part of the Imap PHP package.
|
|
|
|
* (c) Clivern <hello@clivern.com>
|
2017-08-12 01:25:32 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
namespace Clivern\Imap\Core\Search\Condition;
|
|
|
|
|
|
|
|
use Clivern\Imap\Core\Search\Contract\Condition;
|
|
|
|
|
|
|
|
/**
|
2019-02-25 19:27:36 +01:00
|
|
|
* Answered Class.
|
2017-08-12 01:25:32 +02:00
|
|
|
*/
|
|
|
|
class Answered implements Condition
|
|
|
|
{
|
2017-08-13 13:36:19 +02:00
|
|
|
/**
|
2019-02-25 19:27:36 +01:00
|
|
|
* Query String.
|
2017-08-13 13:36:19 +02:00
|
|
|
*
|
|
|
|
* @return string
|
|
|
|
*/
|
|
|
|
public function __toString()
|
|
|
|
{
|
2019-02-25 19:27:36 +01:00
|
|
|
return 'ANSWERED';
|
2017-08-13 13:36:19 +02:00
|
|
|
}
|
2019-02-25 19:27:36 +01:00
|
|
|
}
|