Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Introduction about normalizers
  • Loading branch information
mnapoli committed Nov 1, 2014
commit 4815c4afa09fa5214e1dec462eb9e811c8f6f779
2 changes: 2 additions & 0 deletions components/serializer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ which Encoders and Normalizer are going to be available::

$serializer = new Serializer($normalizers, $encoders);

There are several normalizers available, e.g. the :class:`Symfony\\Component\\Serializer\\Normalizer\\GetSetMethodNormalizer` or the :class:`Symfony\\Component\\Serializer\\Normalizer\\PropertyNormalizer`. To read more about them, refer to the "Normalizers" section in this page. All the examples shown below use the GetSetMethodNormalizer.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please split lines after the first word that crosses the 72nd character?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done


Serializing an Object
---------------------

Expand Down