for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Ddeboer\Imap\Search;
/**
* Represents a condition that can be used in a search expression.
*/
abstract class AbstractCondition
{
* Converts the condition to a string that can be sent to the IMAP server.
*
* @return string
public function __toString()
return $this->getKeyword();
}
* Returns the keyword that the condition represents.
abstract protected function getKeyword();