public function ValidatorInterface::validateProperty in Zircon Profile 8
Same name in this branch
- 8 vendor/symfony/validator/ValidatorInterface.php \Symfony\Component\Validator\ValidatorInterface::validateProperty()
 - 8 vendor/symfony/validator/Validator/ValidatorInterface.php \Symfony\Component\Validator\Validator\ValidatorInterface::validateProperty()
 
Same name and namespace in other branches
- 8.0 vendor/symfony/validator/ValidatorInterface.php \Symfony\Component\Validator\ValidatorInterface::validateProperty()
 
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.
1 method overrides ValidatorInterface::validateProperty()
- Validator::validateProperty in vendor/
symfony/ validator/ Validator.php  
File
- vendor/
symfony/ validator/ ValidatorInterface.php, line 57  
Class
- ValidatorInterface
 - Validates values and graphs of objects and arrays.
 
Namespace
Symfony\Component\ValidatorCode
public function validateProperty($containingValue, $property, $groups = null);