ValidatorInterface deprecated::validatePropertyValue()

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.
array|null $groups The validation groups to validate.

Return Value

ConstraintViolationListInterface A list of constraint violations. If the list is empty, validation succeeded.
doc_Symfony
2016-10-28 06:36:51
Comments
Leave a Comment

Please login to continue.