Validator deprecated::validateProperty()

ConstraintViolationListInterface validateProperty(mixed $containingValue, string $property, array|null $groups = null)

Validates a property of a value against its current 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.
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:36
Comments
Leave a Comment

Please login to continue.