CloneableInstantiable
- Extends
PHPUnit\Framework\Constraint\Constraint - Implements
Countable PHPUnit\Framework\SelfDescribing
Methods |
public toString() : string Returns a string representation of the constraint. |
Methods |
protected additionalFailureDescription( $other) : string Return additional failure description where needed. The function can be overridden to provide additional failure information like a diff
|
protected failureDescription( $other) : string Returns the description of the failure. The beginning of failure messages is "Failed asserting that" in most cases. This method should return the second part of that sentence.
|
protected matches( $other) : bool Evaluates the constraint for parameter $other. Returns TRUE if the constraint is met, FALSE otherwise.
|