file-fetcher
|
Constraint that asserts that the string it is evaluated for ends with a given suffix.
Public Member Functions | |
__construct (string $suffix) | |
toString () | |
![]() | |
evaluate ($other, string $description='', bool $returnResult=false) | |
count () | |
Protected Member Functions | |
matches ($other) | |
![]() | |
exporter () | |
fail ($other, $description, ComparisonFailure $comparisonFailure=null) | |
additionalFailureDescription ($other) | |
failureDescription ($other) | |
PHPUnit\Framework\Constraint\StringEndsWith::__construct | ( | string | $suffix | ) |
|
protected |
Evaluates the constraint for parameter $other. Returns true if the constraint is met, false otherwise.
mixed | $other | value or object to evaluate |
Reimplemented from PHPUnit\Framework\Constraint\Constraint.
PHPUnit\Framework\Constraint\StringEndsWith::toString | ( | ) |
Returns a string representation of the constraint.
Implements PHPUnit\Framework\SelfDescribing.