public function ValidatorBuilderInterface::enableAnnotationMapping in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/validator/ValidatorBuilderInterface.php \Symfony\Component\Validator\ValidatorBuilderInterface::enableAnnotationMapping()
Enables annotation based constraint mapping.
Parameters
Reader $annotationReader The annotation reader to be used:
Return value
ValidatorBuilderInterface The builder object
1 method overrides ValidatorBuilderInterface::enableAnnotationMapping()
- ValidatorBuilder::enableAnnotationMapping in vendor/
symfony/ validator/ ValidatorBuilder.php - Enables annotation based constraint mapping.
File
- vendor/
symfony/ validator/ ValidatorBuilderInterface.php, line 105
Class
- ValidatorBuilderInterface
- A configurable builder for ValidatorInterface objects.
Namespace
Symfony\Component\ValidatorCode
public function enableAnnotationMapping(Reader $annotationReader = null);