Skip to content

Commit ab614c9

Browse files
committed
Minor reword
1 parent 480999e commit ab614c9

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

serializer/custom_normalizer.rst

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -53,15 +53,10 @@ to customize the normalized data. To do that, leverage the ``ObjectNormalizer``:
5353
}
5454
}
5555

56-
5756
Registering it in your Application
5857
----------------------------------
5958

60-
If you use the Symfony Framework. then you probably want to register this normalizer
61-
as a service in your app. If you're using the :ref:`default services.yml configuration <service-container-services-load-example>`,
62-
that's done automatically!
63-
64-
.. tip::
65-
66-
If you're not using autoconfigure, make sure to register your class as a service
67-
and tag it with ``serializer.normalizer``.
59+
Before using this normalizer in a Symfony application it must be registered as
60+
a service and :doc:`tagged </service_container/tags>` with ``serializer.normalizer``.
61+
If you're using the :ref:`default services.yml configuration <service-container-services-load-example>`,
62+
this is done automatically!

0 commit comments

Comments
 (0)