File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -737,6 +737,10 @@ There are several types of normalizers available:
737
737
:phpclass: `DateTime ` and :phpclass: `DateTimeImmutable `) into strings.
738
738
By default, it uses the `RFC3339 `_ format.
739
739
740
+ :class: `Symfony\\ Component\\ Serializer\\ Normalizer\\ DateTimeZoneNormalizer `
741
+ This normalizer converts :phpclass: `DateTimeZone ` objects into strings.
742
+ By default, it uses the `RFC3339 `_ format.
743
+
740
744
:class: `Symfony\\ Component\\ Serializer\\ Normalizer\\ DataUriNormalizer `
741
745
This normalizer converts :phpclass: `SplFileInfo ` objects into a data URI
742
746
string (``data:... ``) such that files can be embedded into serialized data.
Original file line number Diff line number Diff line change @@ -61,6 +61,8 @@ As well as the following normalizers:
61
61
handle typical data objects
62
62
* :class: `Symfony\\ Component\\ Serializer\\ Normalizer\\ DateTimeNormalizer ` for
63
63
objects implementing the :phpclass: `DateTimeInterface ` interface
64
+ * :class: `Symfony\\ Component\\ Serializer\\ Normalizer\\ DateTimeZoneNormalizer ` for
65
+ :phpclass: `DateTimeZone ` objects
64
66
* :class: `Symfony\\ Component\\ Serializer\\ Normalizer\\ DataUriNormalizer ` to
65
67
transform :phpclass: `SplFileInfo ` objects in `Data URIs `_
66
68
* :class: `Symfony\\ Component\\ Serializer\\ Normalizer\\ JsonSerializableNormalizer `
You can’t perform that action at this time.
0 commit comments