Skip to content

Commit 4f0ff7e

Browse files
authored
Update normalizers.rst
It was indicated a wrong class. The class `Symfony\Component\Serializer\Normalizer\NormalizableInterface` was not mentioned in the part that tells about how to normalize an object that implements the interface.
1 parent 3fac19f commit 4f0ff7e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

serializer/normalizers.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ Symfony includes the following normalizers but you can also
3636
transform :phpclass:`SplFileInfo` objects in `Data URIs`_
3737
* :class:`Symfony\\Component\\Serializer\\Normalizer\\CustomNormalizer` to
3838
normalize PHP object using an object that implements
39+
:class:`Symfony\\Component\\Serializer\\Normalizer\\NormalizableInterface`;
3940
* :class:`Symfony\\Component\\Serializer\\Normalizer\\FormErrorNormalizer` for
4041
objects implementing the :class:`Symfony\\Component\\Form\\FormInterface` to
41-
normalize form errors.
42-
:class:`Symfony\\Component\\Serializer\\Normalizer\\NormalizableInterface`;
42+
normalize form errors;
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

0 commit comments

Comments
 (0)