File tree 2 files changed +4
-0
lines changed 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -897,6 +897,9 @@ The Serializer component provides several built-in normalizers:
897
897
This normalizer converts :phpclass: `DateInterval ` objects into strings.
898
898
By default, it uses the ``P%yY%mM%dDT%hH%iM%sS `` format.
899
899
900
+ :class: `Symfony\\ Component\\ Serializer\\ Normalizer\\ BackedEnumNormalizer `
901
+ This normalizer converts a \B ackedEnum objects into strings or integers.
902
+
900
903
:class: `Symfony\\ Component\\ Serializer\\ Normalizer\\ FormErrorNormalizer `
901
904
This normalizer works with classes that implement
902
905
:class: `Symfony\\ Component\\ Form\\ FormInterface `.
Original file line number Diff line number Diff line change @@ -76,6 +76,7 @@ As well as the following normalizers:
76
76
* :class: `Symfony\\ Component\\ Serializer\\ Normalizer\\ ArrayDenormalizer `
77
77
* :class: `Symfony\\ Component\\ Serializer\\ Normalizer\\ ConstraintViolationListNormalizer `
78
78
* :class: `Symfony\\ Component\\ Serializer\\ Normalizer\\ ProblemNormalizer `
79
+ * :class: `Symfony\\ Component\\ Serializer\\ Normalizer\\ BackedEnumNormalizer `
79
80
80
81
Other :ref: `built-in normalizers <component-serializer-normalizers >` and
81
82
custom normalizers and/or encoders can also be loaded by tagging them as
You can’t perform that action at this time.
0 commit comments