Jackalope\Query\QOM\ComparisonConstraint::__construct PHP Method

__construct() public method

Create a new comparison constraint
public __construct ( PHPCR\Query\QOM\DynamicOperandInterface $operand1, string $operator, PHPCR\Query\QOM\StaticOperandInterface $operand2 )
$operand1 PHPCR\Query\QOM\DynamicOperandInterface
$operator string
$operand2 PHPCR\Query\QOM\StaticOperandInterface
    public function __construct(DynamicOperandInterface $operand1, $operator, StaticOperandInterface $operand2)
    {
        $this->operand1 = $operand1;
        $this->operator = $operator;
        $this->operand2 = $operand2;
    }