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
Copy file name to clipboardExpand all lines: serializer.rst
+2
Original file line number
Diff line number
Diff line change
@@ -69,6 +69,8 @@ As well as the following normalizers:
69
69
to deal with objects implementing the :phpclass:`JsonSerializable` interface
70
70
* :class:`Symfony\\Component\\Serializer\\Normalizer\\ArrayDenormalizer` to
71
71
denormalize arrays of objects using a format like `MyObject[]` (note the `[]` suffix)
72
+
* :class:`Symfony\\Component\\Serializer\\Normalizer\\ConstraintViolationListNormalizer` for objects implementing the :class:`Symfony\\Component\\Validator\\ConstraintViolationListInterface` interface
73
+
* :class:`Symfony\\Component\\Serializer\\Normalizer\\ProblemNormalizer` for :class:`Symfony\\Component\\ErrorHandler\\Exception\\FlattenException` objects
72
74
73
75
Custom normalizers and/or encoders can also be loaded by tagging them as
74
76
:ref:`serializer.normalizer <reference-dic-tags-serializer-normalizer>` and
* :class:`Symfony\\Component\\Serializer\\Normalizer\\GetSetMethodNormalizer` to
33
34
normalize PHP object using the getter and setter methods of the object;
34
35
* :class:`Symfony\\Component\\Serializer\\Normalizer\\PropertyNormalizer` to
35
36
normalize PHP object using `PHP reflection`_.
37
+
* :class:`Symfony\\Component\\Serializer\\Normalizer\\ConstraintViolationListNormalizer` for objects implementing the :class:`Symfony\\Component\\Validator\\ConstraintViolationListInterface` interface
38
+
* :class:`Symfony\\Component\\Serializer\\Normalizer\\ProblemNormalizer` for :class:`Symfony\\Component\\ErrorHandler\\Exception\\FlattenException` objects
0 commit comments