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 2cff942 commit da70836Copy full SHA for da70836
components/serializer.rst
@@ -139,7 +139,7 @@ of the ``Person`` class would be encoded in XML format::
139
</person>
140
EOF;
141
142
- $person = $serializer->deserialize($data,'Acme\Person','xml');
+ $person = $serializer->deserialize($data, 'Acme\Person', 'xml');
143
144
In this case, :method:`Symfony\\Component\\Serializer\\Serializer::deserialize`
145
needs three parameters:
0 commit comments