public function ValidatorBuilder::disableAnnotationMapping in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/validator/ValidatorBuilder.php \Symfony\Component\Validator\ValidatorBuilder::disableAnnotationMapping()
Disables annotation based constraint mapping.
Return value
ValidatorBuilderInterface The builder object
Overrides ValidatorBuilderInterface::disableAnnotationMapping
File
- vendor/
symfony/ validator/ ValidatorBuilder.php, line 226
Class
- ValidatorBuilder
- The default implementation of {@link ValidatorBuilderInterface}.
Namespace
Symfony\Component\ValidatorCode
public function disableAnnotationMapping() {
$this->annotationReader = null;
return $this;
}