PHP Class Neos\Flow\Persistence\Generic\Qom\LogicalOr
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.
Show file
Open project: neos/flow-development-collection
Protected Properties
Public Methods
Method |
Description |
|
__construct ( Constraint $constraint1, Constraint $constraint2 ) |
|
|
getConstraint1 ( ) : Constraint |
Gets the first constraint. |
|
getConstraint2 ( ) : Constraint |
Gets the second constraint. |
|
Method Details
__construct()
public method
public __construct ( Constraint $constraint1, Constraint $constraint2 ) |
$constraint1 |
Constraint |
|
$constraint2 |
Constraint |
|
getConstraint1()
public method
Gets the first constraint.
public getConstraint1 ( ) : Constraint |
return |
Constraint |
the constraint; non-null |
getConstraint2()
public method
Gets the second constraint.
public getConstraint2 ( ) : Constraint |
return |
Constraint |
the constraint; non-null |
Property Details
$constraint1 protected property
protected Constraint $constraint1 |
return |
Constraint |
|
$constraint2 protected property
protected Constraint $constraint2 |
return |
Constraint |
|