프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$className | string |
메소드 | 설명 | |
---|---|---|
__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. |