AndCoupler
extends Coupler
in package
Represents a collection of constraints, if one is false, this collection will evaluate to false
Based on PHPUnit_Framework_Constraint_And
Tags
Table of Contents
- $constraints : mixed
- __construct() : mixed
- addConstraint() : mixed
- evaluate() : mixed
- getConstraints() : mixed
Properties
$constraints
protected
mixed
$constraints
= []
Methods
__construct()
public
__construct() : mixed
Return values
mixed —addConstraint()
public
addConstraint(Constraint $constraint) : mixed
Parameters
- $constraint : Constraint
Return values
mixed —evaluate()
public
evaluate(mixed $value) : mixed
Parameters
- $value : mixed
Return values
mixed —getConstraints()
public
getConstraints() : mixed