Skip to content

Commit 8a44f4a

Browse files
committed
Remove redundant normalizers document
1 parent dd5f326 commit 8a44f4a

File tree

3 files changed

+6
-32
lines changed

3 files changed

+6
-32
lines changed

components/serializer.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -693,13 +693,13 @@ When serializing, you can set a callback to format a specific object property::
693693
Normalizers
694694
-----------
695695

696-
Normalizers turn **object** into **array** and vice versa. They implement
697-
:class:`Symfony\\Component\\Serializer\\Normalizer\\NormalizableInterface`
698-
for normalize (object to array) and
699-
:class:`Symfony\\Component\\Serializer\\Normalizer\\DenormalizableInterface` for denormalize
700-
(array to object).
696+
Normalizers turn **objects** into **arrays** and vice versa. They implement
697+
:class:`Symfony\\Component\\Serializer\\Normalizer\\NormalizerInterface` for
698+
normalizing (object to array) and
699+
:class:`Symfony\\Component\\Serializer\\Normalizer\\DenormalizerInterface` for
700+
denormalizing (array to object).
701701

702-
You can add new normalizers to a Serializer instance by using its first constructor argument::
702+
Normalizers are enabled in the serializer passing them as its first argument::
703703

704704
use Symfony\Component\Serializer\Normalizer\ObjectNormalizer;
705705
use Symfony\Component\Serializer\Serializer;

serializer.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,6 @@ take a look at how this bundle works.
269269
.. toctree::
270270
:maxdepth: 1
271271

272-
serializer/normalizers
273272
serializer/custom_encoders
274273
serializer/custom_normalizer
275274

serializer/normalizers.rst

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)