blob: cc6a465b7ced0cd4a2d32e7e92089ff2ee5a4fcd [file] [log] [blame]
<?php
declare(strict_types=1);
namespace Ddeboer\Imap\Search;
/**
* Represents a raw expression.
*/
final class RawExpression implements ConditionInterface
{
/**
* Text to be used for the condition.
*
* @var string
*/
private $expression;
/**
* @param string $expression text for the condition
*/
public function __construct(string $expression)
{
$this->expression = $expression;
}
public function toString(): string
{
return $this->expression;
}
}