You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
minor #14335 [Serializer] Remove duplicate normalizers docs (HypeMC)
This PR was merged into the 4.4 branch.
Discussion
----------
[Serializer] Remove duplicate normalizers docs
Currently normalizers are documented in three separate places, each of which contains some information the other two don't. This makes browsing the docs difficult and confusing.
With this PR I've consolidated everything to `components/serializer.rst`. I've removed the list from `serializer/normalizers.rst` and added a link to `components/serializer.rst` instead.
Since not all normalizers are enabled by the Framework Bundle by default, `serializer.rst` still contains a list of those that are, but the descriptions have been removed and additional links to `components/serializer.rst` added.
Commits
-------
d76fe1d Remove duplicate normalizers docs
to deal with objects implementing the :phpclass:`JsonSerializable` interface
72
-
* :class:`Symfony\\Component\\Serializer\\Normalizer\\ArrayDenormalizer` to
73
-
denormalize arrays of objects using a format like `MyObject[]` (note the `[]` suffix)
74
-
* :class:`Symfony\\Component\\Serializer\\Normalizer\\ConstraintViolationListNormalizer` for objects implementing the :class:`Symfony\\Component\\Validator\\ConstraintViolationListInterface` interface
75
-
* :class:`Symfony\\Component\\Serializer\\Normalizer\\ProblemNormalizer` for :class:`Symfony\\Component\\ErrorHandler\\Exception\\FlattenException` objects
* :class:`Symfony\\Component\\Serializer\\Normalizer\\GetSetMethodNormalizer` to
41
-
normalize PHP object using the getter and setter methods of the object;
42
-
* :class:`Symfony\\Component\\Serializer\\Normalizer\\PropertyNormalizer` to
43
-
normalize PHP object using `PHP reflection`_.
44
-
* :class:`Symfony\\Component\\Serializer\\Normalizer\\ConstraintViolationListNormalizer` for objects implementing the :class:`Symfony\\Component\\Validator\\ConstraintViolationListInterface` interface
45
-
* :class:`Symfony\\Component\\Serializer\\Normalizer\\ProblemNormalizer` for :class:`Symfony\\Component\\ErrorHandler\\Exception\\FlattenException` objects
0 commit comments