프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$exporter |
메소드 | 설명 | |
---|---|---|
__construct ( ) | ||
count ( ) : integer | Counts the number of constraint elements. | |
evaluate ( mixed $other, string $description = '', boolean $returnResult = false ) : mixed | Evaluates the constraint for parameter $other |
메소드 | 설명 | |
---|---|---|
additionalFailureDescription ( mixed $other ) : string | Return additional failure description where needed | |
fail ( mixed $other, string $description, SebastianBergmann\Comparator\ComparisonFailure $comparisonFailure = null ) | Throws an exception for the given compared value and test description | |
failureDescription ( mixed $other ) : string | Returns the description of the failure | |
matches ( mixed $other ) : boolean | Evaluates the constraint for parameter $other. Returns true if the constraint is met, false otherwise. |
protected additionalFailureDescription ( mixed $other ) : string | ||
$other | mixed | Evaluated value or object. |
리턴 | string |
protected failureDescription ( mixed $other ) : string | ||
$other | mixed | Evaluated value or object. |
리턴 | string |