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.
2 parents dda5241 + 75853e0 commit f5e18ecCopy full SHA for f5e18ec
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 "lower snake case" names (e.g. ``foo_bar``) in contrast with the
41
+ automatic validation groups created by Symfony, which use "upper camel case"
42
+ (e.g. ``Default``, ``SomeClassName``).
0 commit comments