LogicalAnd deprecated
class LogicalAnd extends Constraint (View source)
deprecated
Performs a logical conjunction of two other constraints.
To satisfy the And constraint, a tuple must satisfy both constraint1 and constraint2.
Properties
protected Constraint | $constraint1 | ||
protected Constraint | $constraint2 |
Methods
Details
__construct(Constraint $constraint1, Constraint $constraint2)
No description
Constraint
getConstraint1()
Gets the first constraint.
Constraint
getConstraint2()
Gets the second constraint.