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 cab06a1 commit 472821cCopy full SHA for 472821c
components/serializer.rst
@@ -1092,7 +1092,10 @@ These are the options available:
1092
Handling Constructor Arguments
1093
------------------------------
1094
1095
-If the constructor of a class defines arguments, as usually happens with
+.. versionadded:: 4.1
1096
+ The ``default_constructor_arguments`` option was introduced in Symfony 4.1.
1097
+
1098
+If the class constructor defines arguments, as usually happens with
1099
`Value Objects`_, the serializer won't be able to create the object if some
1100
arguments are missing. In those cases, use the ``default_constructor_arguments``
1101
context option::
0 commit comments