8000 Reword the explanation about enabling validation and annotations · symfony/symfony-docs@fee9949 · GitHub
[go: up one dir, main page]

Skip to content

Commit fee9949

Browse files
committed
Reword the explanation about enabling validation and annotations
1 parent f3eaa80 commit fee9949

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

validation.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,8 +211,9 @@ Inside the template, you can output the list of errors exactly as needed:
211211
Configuration
212212
-------------
213213

214-
The Symfony validator is enabled by default, but you must explicitly enable
215-
annotations if you're using the annotation method to specify your constraints:
214+
Before using the Symfony validator, make sure it's enabled in the main config
215+
file. Besides, if you plan to use annotations to configure validation, make sure
216+
that the ``enable_annotations`` option is ``true``:
216217

217218
.. configuration-block::
218219

0 commit comments

Comments
 (0)
0