프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$className | string |
메소드 | 설명 | |
---|---|---|
__construct ( string $className ) | ||
toString ( ) : string | Returns a string representation of the constraint. |
메소드 | 설명 | |
---|---|---|
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 failureDescription ( mixed $other ) : string | ||
$other | mixed | Evaluated value or object. |
리턴 | string |