|
Lggr
|


Public Member Functions | |
| matches ($other) | |
| toString () | |
| count () | |
Public Member Functions inherited from PHPUnit\Framework\Constraint\Constraint | |
| evaluate ($other, $description='', $returnResult=false) | |
Static Public Member Functions | |
| static | fromCount (int $count) |
Additional Inherited Members | |
Protected Member Functions inherited from PHPUnit\Framework\Constraint\Constraint | |
| fail ($other, $description, ComparisonFailure $comparisonFailure=null) | |
| additionalFailureDescription ($other) | |
| failureDescription ($other) | |
Protected Attributes inherited from PHPUnit\Framework\Constraint\Constraint | |
| $exporter | |
| CountConstraint::count | ( | ) |
Counts the number of constraint elements.
Reimplemented from PHPUnit\Framework\Constraint\Constraint.
| CountConstraint::matches | ( | $other | ) |
Evaluates the constraint for parameter $other. Returns true if the constraint is met, false otherwise.
This method can be overridden to implement the evaluation algorithm.
| mixed | $other | Value or object to evaluate. |
Reimplemented from PHPUnit\Framework\Constraint\Constraint.
| CountConstraint::toString | ( | ) |
Returns a string representation of the object.
Implements PHPUnit\Framework\SelfDescribing.
1.8.17