We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent edd88db commit 7b505d6Copy full SHA for 7b505d6
form/validation_groups.rst
@@ -33,3 +33,10 @@ be used to validate the underlying object. To apply the ``registration``
33
group *and* all constraints that are not in a group, use::
34
35
'validation_groups' => ['Default', 'registration']
36
+
37
+.. note::
38
39
+ You can choose any name for your validation groups, but Symfony recommends
40
+ using "lowercase snake case" names (e.g. ``foo_bar``) in contrast with the
41
+ automatic validation groups created by Symfony, which use "uppercase camel case"
42
+ (e.g. ``Default``, ``SomeClassName``).
0 commit comments