From bff0f3aa92a91e0305629f1c9925b3d81564ee57 Mon Sep 17 00:00:00 2001 From: Laurent VOULLEMIER Date: Fri, 13 Mar 2020 07:53:32 +0100 Subject: [PATCH] Add missing prefix/xxxer Add missing prefix/xxxer in ObjectNormalizer description --- components/serializer.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/serializer.rst b/components/serializer.rst index 9b26a698a72..c8c52f9031d 100644 --- a/components/serializer.rst +++ b/components/serializer.rst @@ -582,11 +582,11 @@ There are several types of normalizers available: :class:`Symfony\\Component\\Serializer\\Normalizer\\ObjectNormalizer` This normalizer leverages the :doc:`PropertyAccess Component ` to read and write in the object. It means that it can access to properties - directly and through getters, setters, hassers, adders and removers. It supports + directly and through getters, setters, hassers, issers, adders and removers. It supports calling the constructor during the denormalization process. Objects are normalized to a map of property names and values (names are - generated removing the ``get``, ``set``, ``has``, ``is`` or ``remove`` prefix from + generated removing the ``get``, ``set``, ``has``, ``is``, ``add`` or ``remove`` prefix from the method name and transforming the first letter to lowercase; e.g. ``getFirstName()`` -> ``firstName``).