Property | Type | Description | |
---|---|---|---|
$className | string |
Method | Description | |
---|---|---|
__construct ( string $className ) | ||
evaluate ( mixed $other ) : boolean | Evaluates the constraint for parameter $other. Returns TRUE if the constraint is met, FALSE otherwise. | |
fail ( mixed $other, string $description, boolean $not = FALSE ) | Creates the appropriate exception for the constraint which can be caught by the unit test system. This can be called if a call to evaluate() fails. | |
toString ( ) : string | Returns a string representation of the constraint. |