Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 017ecd7

Browse files
committed
Tweak
1 parent 61a7680 commit 017ecd7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

components/validator/resources.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,9 @@ prefixed classes included in doc block comments (``/** ... */``). For example::
106106
}
107107

108108
To enable the annotation loader, call the
109-
:method:`Symfony\\Component\\Validator\\ValidatorBuilder::enableAnnotationMapping` method.
110-
``addDefaultDoctrineAnnotationReader`` must also be called to use ``Doctrine\Common\Annotations\AnnotationReader``::
109+
:method:`Symfony\\Component\\Validator\\ValidatorBuilder::enableAnnotationMapping` method
110+
and then call ``addDefaultDoctrineAnnotationReader()`` to use Doctrine's
111+
annotation reader::
111112

112113
use Symfony\Component\Validator\Validation;
113114

0 commit comments

Comments
 (0)