PHP Class Neos\Flow\Persistence\Generic\Qom\LogicalAnd

To satisfy the And constraint, a tuple must satisfy both constraint1 and constraint2.
Inheritance: extends Constraint
Show file Open project: neos/flow-development-collection

Protected Properties

Property Type Description
$constraint1 Constraint
$constraint2 Constraint

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