Symfony\Component\Validator\ValidatorBuilderInterface::enableAnnotationMapping
Enables annotation based constraint mapping.
Signature
public function enableAnnotationMapping([Reader
$annotationReader = null] )
Parameters
$annotationReader
— Doctrine\Common\Annotations\Reader- The annotation reader to be used.
Returns
- ValidatorBuilderInterface
- The builder object.