@@ -59,15 +59,15 @@ following:
5959
6060 ..code-block ::yaml
6161
62- # src/Resources/ config/validation.yml
62+ # config/validator/ validation.yaml
6363App\Entity\Author :
6464properties :
6565name :
6666 -NotBlank :~
6767
6868 ..code-block ::xml
6969
70- <!-- src/Resources/ config/validation.xml-->
70+ <!-- config/validator /validation.xml-->
7171 <?xml version =" 1.0" encoding =" UTF-8" ?>
7272 <constraint-mapping xmlns =" http://symfony.com/schema/dic/constraint-mapping"
7373xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
@@ -214,13 +214,13 @@ file:
214214
215215 ..code-block ::yaml
216216
217- # app/ config/config.yml
217+ # config/packages/validation.yaml
218218framework :
219219validation :{ enabled: true }
220220
221221 ..code-block ::xml
222222
223- <!-- app/ config/config .xml-->
223+ <!-- config/packages/validation .xml-->
224224 <?xml version =" 1.0" encoding =" UTF-8" ?>
225225 <container xmlns =" http://symfony.com/schema/dic/services"
226226xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
@@ -236,7 +236,7 @@ file:
236236
237237 ..code-block ::php
238238
239- //app/ config/config .php
239+ // config/packages/validation .php
240240 $container->loadFromExtension('framework', array(
241241 'validation' => array(
242242 'enabled' => true,
@@ -250,13 +250,13 @@ previous configuration by the following:
250250
251251 ..code-block ::yaml
252252
253- # app/ config/config .yml
253+ # config/packages/validation .yml
254254framework :
255255validation :{ enable_annotations: true }
256256
257257 ..code-block ::xml
258258
259- <!-- app/ config/config .xml-->
259+ <!-- config/packages/validation .xml-->
260260 <?xml version =" 1.0" encoding =" UTF-8" ?>
261261 <container xmlns =" http://symfony.com/schema/dic/services"
262262xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
@@ -272,7 +272,7 @@ previous configuration by the following:
272272
273273 ..code-block ::php
274274
275- //app/ config/config .php
275+ // config/packages/validation .php
276276 $container->loadFromExtension('framework', array(
277277 'validation' => array(
278278 'enable_annotations' => true,
@@ -346,7 +346,7 @@ literature genre mostly associated with the author, which can be set to either
346346
347347 ..code-block ::yaml
348348
349- # src/Resources/ config/validation.yml
349+ # config/validator/ validation.yaml
350350App\Entity\Author :
351351properties :
352352genre :
@@ -355,7 +355,7 @@ literature genre mostly associated with the author, which can be set to either
355355
356356 ..code-block ::xml
357357
358- <!-- src/Resources/ config/validation.xml-->
358+ <!-- config/validator /validation.xml-->
359359 <?xml version =" 1.0" encoding =" UTF-8" ?>
360360 <constraint-mapping xmlns =" http://symfony.com/schema/dic/constraint-mapping"
361361xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
@@ -430,7 +430,7 @@ options can be specified in this way.
430430
431431 ..code-block ::yaml
432432
433- # src/Resources/ config/validation.yml
433+ # config/validator /validation.yml
434434App\Entity\Author :
435435properties :
436436genre :
@@ -439,7 +439,7 @@ options can be specified in this way.
439439
440440 ..code-block ::xml
441441
442- <!-- src/Resources/ config/validation.xml-->
442+ <!-- config/validator /validation.xml-->
443443 <?xml version =" 1.0" encoding =" UTF-8" ?>
444444 <constraint-mapping xmlns =" http://symfony.com/schema/dic/constraint-mapping"
445445xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
@@ -559,7 +559,7 @@ class to have at least 3 characters.
559559
560560 ..code-block ::yaml
561561
562- # src/Resources/ config/validation.yml
562+ # config/validator/ validation.yaml
563563App\Entity\Author :
564564properties :
565565firstName :
@@ -569,7 +569,7 @@ class to have at least 3 characters.
569569
570570 ..code-block ::xml
571571
572- <!-- src/Resources/ config/validation.xml-->
572+ <!-- config/validator /validation.xml-->
573573 <?xml version =" 1.0" encoding =" UTF-8" ?>
574574 <constraint-mapping xmlns =" http://symfony.com/schema/dic/constraint-mapping"
575575xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
@@ -647,15 +647,15 @@ this method must return ``true``:
647647
648648 ..code-block ::yaml
649649
650- # src/Resources/ config/validation.yml
650+ # config/validator/ validation.yaml
651651App\Entity\Author :
652652getters :
653653passwordLegal :
654654 -' IsTrue ' :{ message: 'The password cannot match your first name' }
655655
656656 ..code-block ::xml
657657
658- <!-- src/Resources/ config/validation.xml-->
658+ <!-- config/validator /validation.xml-->
659659 <?xml version =" 1.0" encoding =" UTF-8" ?>
660660 <constraint-mapping xmlns =" http://symfony.com/schema/dic/constraint-mapping"
661661xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"