| 1 | <?php |
||
| 8 | abstract class AbstractCondition |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * Converts the condition to a string that can be sent to the IMAP server. |
||
| 12 | * |
||
| 13 | * @return string |
||
| 14 | */ |
||
| 15 | public function __toString() |
||
| 19 | |||
| 20 | /** |
||
| 21 | * Returns the keyword that the condition represents. |
||
| 22 | * |
||
| 23 | * @return string |
||
| 24 | */ |
||
| 25 | abstract protected function getKeyword(); |
||
| 26 | } |
||
| 27 |