RecursiveContextualValidator::validateProperty()

ContextualValidatorInterface validateProperty(object $object, string $propertyName, array|null $groups = null)

Validates a property of an object against the constraints specified for this property.

Parameters

object $object The object
string $propertyName The name of the validated property
array|null $groups The validation groups to validate. If none is given, "Default" is assumed

Return Value

ContextualValidatorInterface This validator
doc_Symfony
2016-10-28 06:28:33
Comments
Leave a Comment

Please login to continue.