public function Comparison::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/doctrine/collections/lib/Doctrine/Common/Collections/Expr/Comparison.php \Doctrine\Common\Collections\Expr\Comparison::__construct()
Parameters
string $field:
string $operator:
mixed $value:
File
- vendor/
doctrine/ collections/ lib/ Doctrine/ Common/ Collections/ Expr/ Comparison.php, line 61
Class
- Comparison
- Comparison of a field with a value by the given operator.
Namespace
Doctrine\Common\Collections\ExprCode
public function __construct($field, $operator, $value) {
if (!$value instanceof Value) {
$value = new Value($value);
}
$this->field = $field;
$this->op = $operator;
$this->value = $value;
}