AndInterface extends ConstraintInterface
Performs a logical conjunction of two other constraints.
To satisfy the And constraint, a node-tuple must satisfy both constraint1 and constraint2.
Table of Contents
Methods
- collectBoundVariableNames() : mixed
- Fills an array with the names of all bound variables in the constraints
- getConstraint1() : ConstraintInterface
- Gets the first constraint.
- getConstraint2() : ConstraintInterface
- Gets the second constraint.
Methods
collectBoundVariableNames()
Fills an array with the names of all bound variables in the constraints
public
collectBoundVariableNames(array<string|int, mixed> &$boundVariables) : mixed
Parameters
- $boundVariables : array<string|int, mixed>
getConstraint1()
Gets the first constraint.
public
getConstraint1() : ConstraintInterface
Return values
ConstraintInterface —the constraint
getConstraint2()
Gets the second constraint.
public
getConstraint2() : ConstraintInterface
Return values
ConstraintInterface —the constraint