You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -206,20 +216,6 @@ Inside the template, you can output the list of errors exactly as needed:
206
216
Each validation error (called a "constraint violation"), is represented by
207
217
a :class:`Symfony\\Component\\Validator\\ConstraintViolation` object.
208
218
209
-
.. index::
210
-
pair: Validation; Configuration
211
-
212
-
Configuration
213
-
-------------
214
-
215
-
In the previous Symfony versions, enabling the validator in configuration was a requirement. It's not the case anymore, the validation is enabled by default as long as the Validator component is installed. In the same way, annotations are enabled by default if ``doctrine/annotations`` is installed.
216
-
217
-
.. tip::
218
-
219
-
When using PHP, YAML, and XML files instead of annotations, Symfony looks
220
-
for by default in the ``config/validator/`` directory, but you can configure
221
-
other directories with the :ref:`validation.mapping.paths <reference-validation-mapping>` option.
0 commit comments