public RecursiveContextualValidator::validatePropertyValue($object, $property_name, $value, $groups = NULL)
Validates a value against the constraints specified for an object's property.
Parameters
object|string $objectOrClass The object or its class name:
string $propertyName The name of the property:
mixed $value The value to validate against the: property's constraints
array|null $groups The validation groups to validate. If: none is given, "Default" is assumed
Return value
ContextualValida