Свойство | Тип | Описание | |
---|---|---|---|
$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 |