public function ValidationVisitorInterface::visit in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/validator/ValidationVisitorInterface.php \Symfony\Component\Validator\ValidationVisitorInterface::visit()
Validates a value against the constraints defined in some metadata.
This method implements the Visitor design pattern. See also {@link ValidationVisitorInterface}.
Parameters
MetadataInterface $metadata The metadata holding the constraints.:
mixed $value The value to validate.:
string $group The validation group to validate.:
string $propertyPath The current property path in the validation graph.:
1 method overrides ValidationVisitorInterface::visit()
- ValidationVisitor::visit in vendor/
symfony/ validator/ ValidationVisitor.php - Validates a value against the constraints defined in some metadata.
File
- vendor/
symfony/ validator/ ValidationVisitorInterface.php, line 81
Class
- ValidationVisitorInterface
- Validates values against constraints defined in {@link MetadataInterface} instances.
Namespace
Symfony\Component\ValidatorCode
public function visit(MetadataInterface $metadata, $value, $group, $propertyPath);