The BeforeValidator::formatTypeOf
method
View at GitHub
version: 1.x
Introduction
Returns a string representation of the type of the value.
This method should be used if you pass the type of a value as message parameter to a constraint violation. Note that such parameters should usually not be included in messages aimed at non-technical people.
Description
Parameters
- mixed $value
Return Values
mixed