LogicalOr
final readonly class \
- Implements
- OrInterface
Performs a logical disjunction of two other constraints.
To satisfy the Or constraint, the node-tuple must either: satisfy constraint1 but not constraint2, or satisfy constraint2 but not constraint1, or satisfy both constraint1 and constraint2.
Internal
only to be used within Extbase, not part of TYPO3 Core API.
Table of Contents
Interfaces
- OrInterface
- Performs a logical disjunction of two other constraints.
Methods
- __construct() : mixed
- collectBoundVariableNames() : void
- getConstraint1() : ConstraintInterface
- getConstraint2() : ConstraintInterface
Methods
__construct()
public
__construct(ConstraintInterface $constraint1, ConstraintInterface $constraint2) : mixed
Parameters
- $constraint1 : ConstraintInterface
- $constraint2 : ConstraintInterface
collectBoundVariableNames()
public
collectBoundVariableNames(array &$boundVariables) : void
Parameters
- $boundVariables : array
getConstraint1()
public
getConstraint1() : ConstraintInterface
Return values
ConstraintInterfacegetConstraint2()
public
getConstraint2() : ConstraintInterface