Skip to content

Commit

Permalink
Typo fix in the Serializer deserialization example
Browse files Browse the repository at this point in the history
  • Loading branch information
fre5h committed May 9, 2016
1 parent 9f370c6 commit 44ecd19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/serializer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ The serializer can also be used to update an existing object::
EOF;

$serializer->deserialize($data, 'Acme\Person', 'xml', array('object_to_populate' => $person));
// $obj2 = Acme\Person(name: 'foo', age: '99', sportsman: true)
// $obj2 = Acme\Person(name: 'foo', age: '69', sportsman: true)

This is a common need when working with an ORM.

Expand Down

0 comments on commit 44ecd19

Please sign in to comment.