Property | Type | Description | |
---|---|---|---|
$className | string |
Method | Description | |
---|---|---|
__construct ( string $className ) | ||
toString ( ) : string | Returns a string representation of the constraint. |
Method | 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 failureDescription ( mixed $other ) : string | ||
$other | mixed | Evaluated value or object. |
return | string |