Skip to content

Commit a00d33c

Browse files
committed
minor symfony#15176 [Serializer] Standardize built-in normalizers lists (sarramegnag)
This PR was submitted for the 5.x branch but it was merged into the 5.2 branch instead. Discussion ---------- [Serializer] Standardize built-in normalizers lists See symfony#15077 Commits ------- 09b1c98 Standardize built-in normalizers lists
2 parents fc5af0d + 09b1c98 commit a00d33c

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

serializer/normalizers.rst

+9-7
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ Symfony includes the following normalizers but you can also
2727
* :class:`Symfony\\Component\\Serializer\\Normalizer\\ObjectNormalizer` to
2828
normalize PHP object using the :doc:`PropertyAccess component </components/property_access>`;
2929
* :class:`Symfony\\Component\\Serializer\\Normalizer\\DateTimeZoneNormalizer`
30-
for :phpclass:`DateTimeZone` objects
30+
for :phpclass:`DateTimeZone` objects;
3131
* :class:`Symfony\\Component\\Serializer\\Normalizer\\DateTimeNormalizer` for
32-
objects implementing the :phpclass:`DateTimeInterface` interface
32+
objects implementing the :phpclass:`DateTimeInterface` interface;
3333
* :class:`Symfony\\Component\\Serializer\\Normalizer\\DateIntervalNormalizer`
34-
for :phpclass:`DateInterval` objects
34+
for :phpclass:`DateInterval` objects;
3535
* :class:`Symfony\\Component\\Serializer\\Normalizer\\DataUriNormalizer` to
36-
transform :phpclass:`SplFileInfo` objects in `Data URIs`_
36+
transform :phpclass:`SplFileInfo` objects in `Data URIs`_;
3737
* :class:`Symfony\\Component\\Serializer\\Normalizer\\CustomNormalizer` to
3838
normalize PHP object using an object that implements
3939
:class:`Symfony\\Component\\Serializer\\Normalizer\\NormalizableInterface`;
@@ -43,11 +43,13 @@ Symfony includes the following normalizers but you can also
4343
* :class:`Symfony\\Component\\Serializer\\Normalizer\\GetSetMethodNormalizer` to
4444
normalize PHP object using the getter and setter methods of the object;
4545
* :class:`Symfony\\Component\\Serializer\\Normalizer\\PropertyNormalizer` to
46-
normalize PHP object using `PHP reflection`_.
47-
* :class:`Symfony\\Component\\Serializer\\Normalizer\\ConstraintViolationListNormalizer` for objects implementing the :class:`Symfony\\Component\\Validator\\ConstraintViolationListInterface` interface
46+
normalize PHP object using `PHP reflection`_;
47+
* :class:`Symfony\\Component\\Serializer\\Normalizer\\ConstraintViolationListNormalizer` for objects implementing the :class:`Symfony\\Component\\Validator\\ConstraintViolationListInterface` interface;
4848
* :class:`Symfony\\Component\\Serializer\\Normalizer\\ProblemNormalizer` for :class:`Symfony\\Component\\ErrorHandler\\Exception\\FlattenException` objects
4949
* :class:`Symfony\\Component\\Serializer\\Normalizer\\JsonSerializableNormalizer`
50-
to deal with objects implementing the :phpclass:`JsonSerializable` interface
50+
to deal with objects implementing the :phpclass:`JsonSerializable` interface;
51+
* :class:`Symfony\\Component\\Serializer\\Normalizer\\UidNormalizer` converts objects that implement :class:`Symfony\\Component\\Uid\\AbstractUid` into strings and denormalizes uuid or ulid strings to :class:`Symfony\\Component\\Uid\\Uuid` or :class:`Symfony\\Component\\Uid\\Ulid`.
52+
5153

5254
.. _`Data URIs`: https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs
5355
.. _`PHP reflection`: https://php.net/manual/en/book.reflection.php

0 commit comments

Comments
 (0)