ConstraintViolationListInterface
validatePropertyValue(mixed $containingValue, string $property, string $value, array|null $groups = null)
Validate a property of a value against a potential value. The accepted values depend on the {@link MetadataFactoryInterface} implementation.
Parameters mixed $containingValue The value containing the property. string $property The name of the property to validate string $value The value to validate against the constraints of the property. a