File
- drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Collections/Expr/Comparison.php, line 44
Class
- Comparison
- Comparison of a field with a value by the given operator.
Namespace
Doctrine\Common\Collections\Expr
Code
public function __construct($field, $operator, $value) {
if (!$value instanceof Value) {
$value = new Value($value);
}
$this->field = $field;
$this->op = $operator;
$this->value = $value;
}