File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -26,12 +26,20 @@ Symfony includes the following normalizers but you can also
26
26
27
27
* :class: `Symfony\\ Component\\ Serializer\\ Normalizer\\ ObjectNormalizer ` to
28
28
normalize PHP object using the :doc: `PropertyAccessor component </components/property_access >`;
29
+ * :class: `Symfony\\ Component\\ Serializer\\ Normalizer\\ DateTimeNormalizer ` for
30
+ objects implementing the :phpclass: `DateTimeInterface ` interface
31
+ * :class: `Symfony\\ Component\\ Serializer\\ Normalizer\\ DateIntervalNormalizer ` for :phpclass: `DateInterval ` objects
32
+ * :class: `Symfony\\ Component\\ Serializer\\ Normalizer\\ DataUriNormalizer ` to
33
+ transform :phpclass: `SplFileInfo ` objects in `Data URIs `_
29
34
* :class: `Symfony\\ Component\\ Serializer\\ Normalizer\\ CustomNormalizer ` to
30
35
normalize PHP object using an object that implements
31
36
:class: `Symfony\\ Component\\ Serializer\\ Normalizer\\ NormalizableInterface `;
32
37
* :class: `Symfony\\ Component\\ Serializer\\ Normalizer\\ GetSetMethodNormalizer ` to
33
38
normalize PHP object using the getter and setter methods of the object;
34
39
* :class: `Symfony\\ Component\\ Serializer\\ Normalizer\\ PropertyNormalizer ` to
35
40
normalize PHP object using `PHP reflection `_.
41
+ * :class: `Symfony\\ Component\\ Serializer\\ Normalizer\\ JsonSerializableNormalizer `
42
+ to deal with objects implementing the :phpclass: `JsonSerializable ` interface
36
43
44
+ .. _`Data URIs` : https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs
37
45
.. _`PHP reflection` : https://php.net/manual/en/book.reflection.php
You can’t perform that action at this time.
0 commit comments