Condition that connects two or more SQL expressions with the AND
operator.
public function __construct($expressions) // TODO: use variadic params when PHP>5.6
{
$this->expressions = $expressions;
}
public static function fromArrayDefinition($operator, $operands)
{
return new static($operands);
}
public function getExpressions()
{
return $this->expressions;
}
Returns the operator that is represented by this condition class, e.g. AND
, OR
.
public function getOperator()
{
return 'AND';
}
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4