class LogicalOr extends Constraint (View source)

deprecated since Flow 6.0

Performs a logical disjunction of two other constraints.

To satisfy the Or constraint, the tuple must either: satisfy constraint1 but not constraint2, or satisfy constraint2 but not constraint1, or satisfy both constraint1 and constraint2.

Properties

protected Constraint $constraint1
protected Constraint $constraint2

Methods

__construct(Constraint $constraint1, Constraint $constraint2)

No description

getConstraint1()

Gets the first constraint.

getConstraint2()

Gets the second constraint.

Details

__construct(Constraint $constraint1, Constraint $constraint2)

No description

Parameters

Constraint $constraint1
Constraint $constraint2

Constraint getConstraint1()

Gets the first constraint.

Return Value

Constraint

the constraint; non-null

Constraint getConstraint2()

Gets the second constraint.

Return Value

Constraint

the constraint; non-null