@@ -49,7 +49,7 @@ username and the password are different only if all other validation passes
4949
5050 .. code-block :: yaml
5151
52- # src/Resources/ config/validation.yml
52+ # config/validator/ validation.yaml
5353 App\Entity\User :
5454 group_sequence :
5555 - User
@@ -67,7 +67,7 @@ username and the password are different only if all other validation passes
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"
7373 xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
@@ -145,7 +145,7 @@ You can also define a group sequence in the ``validation_groups`` form option::
145145 use Symfony\Component\Validator\Constraints\GroupSequence;
146146 use Symfony\Component\Form\AbstractType;
147147 // ...
148-
148+
149149 class MyType extends AbstractType
150150 {
151151 // ...
@@ -195,7 +195,7 @@ entity and a new constraint group called ``Premium``:
195195
196196 .. code-block :: yaml
197197
198- # src/Resources/ config/validation.yml
198+ # config/validator/ validation.yaml
199199 App\Entity\User :
200200 properties :
201201 name :
@@ -207,7 +207,7 @@ entity and a new constraint group called ``Premium``:
207207
208208 .. code-block :: xml
209209
210- <!-- src/Resources/ config/validation.xml -->
210+ <!-- config/validator /validation.xml -->
211211 <?xml version =" 1.0" encoding =" UTF-8" ?>
212212 <constraint-mapping xmlns =" http://symfony.com/schema/dic/constraint-mapping"
213213 xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
@@ -308,13 +308,13 @@ provides a sequence of groups to be validated:
308308
309309 .. code-block :: yaml
310310
311- # src/Resources/ config/validation.yml
311+ # config/validator/ validation.yaml
312312 App\Entity\User :
313313 group_sequence_provider : true
314314
315315 .. code-block :: xml
316316
317- <!-- src/Resources/ config/validation.xml -->
317+ <!-- config/validator /validation.xml -->
318318 <?xml version =" 1.0" encoding =" UTF-8" ?>
319319 <constraint-mapping xmlns =" http://symfony.com/schema/dic/constraint-mapping"
320320 xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
0 commit comments