You are here

public function ValidatorBuilderInterface::enableAnnotationMapping in Plug 7

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 lib/Symfony/validator/Symfony/Component/Validator/ValidatorBuilder.php
Enables annotation based constraint mapping.

File

lib/Symfony/validator/Symfony/Component/Validator/ValidatorBuilderInterface.php, line 105

Class

ValidatorBuilderInterface
A configurable builder for ValidatorInterface objects.

Namespace

Symfony\Component\Validator

Code

public function enableAnnotationMapping(Reader $annotationReader = null);