0) { $this->setText($text); } } /** * Sets the text for the condition. * * @param string $text */ public function setText($text) { $this->text = $text; } /** * Converts the condition to a string that can be sent to the IMAP server. * * @return string. */ public function __toString() { return $this->getKeyword() . ' "' . str_replace('"', '\\"', $this->text) . '"'; } }