42 lines
620 B
PHP
42 lines
620 B
PHP
<?php
|
|
/**
|
|
* @author clivern <hello@clivern.com>
|
|
*/
|
|
|
|
namespace Clivern\Imap\Core\Search\Condition;
|
|
|
|
use Clivern\Imap\Core\Search\Contract\Condition;
|
|
|
|
/**
|
|
* BCC Class
|
|
*
|
|
* @package Clivern\Imap\Core\Search\Condition
|
|
*/
|
|
class BCC implements Condition
|
|
{
|
|
|
|
/**
|
|
* @var string
|
|
*/
|
|
protected $data;
|
|
|
|
/**
|
|
* Class Constructor
|
|
*
|
|
* @param string $data
|
|
*/
|
|
public function __construct($data)
|
|
{
|
|
$this->data = $data;
|
|
}
|
|
|
|
/**
|
|
* Query String
|
|
*
|
|
* @return string
|
|
*/
|
|
public function __toString()
|
|
{
|
|
return "BCC \"{$this->data}\"";
|
|
}
|
|
} |