LogicalAnd implements AndInterface
Performs a logical conjunction of two other constraints.
To satisfy the And constraint, a node-tuple must satisfy both constraint1 and constraint2.
only to be used within Extbase, not part of TYPO3 Core API.
Table of Contents
Interfaces
- AndInterface
- Performs a logical conjunction of two other constraints.
Properties
Methods
- __construct() : mixed
- 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.
Properties
$constraint1
protected
ConstraintInterface
$constraint1
$constraint2
protected
ConstraintInterface
$constraint2
Methods
__construct()
public
__construct(ConstraintInterface $constraint1, ConstraintInterface $constraint2) : mixed
Parameters
- $constraint1 : ConstraintInterface
- $constraint2 : ConstraintInterface
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; non-null
getConstraint2()
Gets the second constraint.
public
getConstraint2() : ConstraintInterface
Return values
ConstraintInterface —the constraint; non-null