Validates a property of a value against its current value.
The accepted values depend on the {@link MetadataFactoryInterface} implementation.
@api
mixed $containingValue The value containing the property.:
string $property The name of the property to validate.:
array|null $groups The validation groups to validate.:
ConstraintViolationListInterface A list of constraint violations. If the list is empty, validation succeeded.
public function validateProperty($containingValue, $property, $groups = null);