Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitae558f4

Browse files
Added the missing versionadded directive
1 parente4eae25 commitae558f4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎serializer.rst‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,9 @@ to your class and choose which groups to use when serializing::
136136
..tip::
137137

138138
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.
139142

140143
In addition to the ``@Groups`` annotation, the Serializer component also
141144
supports YAML or XML files. These files are automatically loaded when being

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp