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 e4eae25 commit ae558f4Copy full SHA for ae558f4
serializer.rst
@@ -136,6 +136,9 @@ to your class and choose which groups to use when serializing::
136
.. tip::
137
138
The value of the ``groups`` key can be a single string, or an array of strings.
139
+
140
+ .. versionadded:: 4.2
141
+ The option to pass a single string to ``groups`` was introduced in Symfony 4.2.
142
143
In addition to the ``@Groups`` annotation, the Serializer component also
144
supports YAML or XML files. These files are automatically loaded when being
0 commit comments