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

Appearance settings

Commit 9f31bbb

Browse filesBrowse files
committed
Fix not precise enough sentence
1 parent b0d3fe8 commit 9f31bbb
Copy full SHA for 9f31bbb

File tree

1 file changed

+3
-2
lines changed
Filter options

1 file changed

+3
-2
lines changed

‎components/serializer.rst

Copy file name to clipboardExpand all lines: components/serializer.rst
+3-2Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1093,8 +1093,9 @@ Handling Constructor Arguments
10931093
------------------------------
10941094

10951095
If the constructor of a class defines arguments, as usually happens with
1096-
`Value Objects`_, the serializer won't be able to create the object. In those
1097-
cases, use the ``default_constructor_arguments`` context option::
1096+
`Value Objects`_, the serializer won't be able to create the object if some
1097+
arguments are missing. In those cases, use the ``default_constructor_arguments``
1098+
context option::
10981099

10991100
use Symfony\Component\Serializer\Serializer;
11001101
use Symfony\Component\Serializer\Normalizer\ObjectNormalizer;

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.