From 4bc6745e80c680e6cef4cc291b125c7cfec0e01e Mon Sep 17 00:00:00 2001 From: Ahmed TAILOULOUTE Date: Sun, 28 Jun 2020 17:08:44 +0200 Subject: [PATCH] Update serializer.rst --- components/serializer.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/serializer.rst b/components/serializer.rst index c8c52f9031d..b8fe7a7b5f0 100644 --- a/components/serializer.rst +++ b/components/serializer.rst @@ -586,7 +586,7 @@ There are several types of normalizers available: 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``, ``add`` or ``remove`` prefix from + generated by 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``). @@ -599,7 +599,7 @@ There are several types of normalizers available: the constructor and the "setters" (public methods starting with "set"). Objects are normalized to a map of property names and values (names are - generated removing the ``get`` prefix from the method name and transforming + generated by removing the ``get`` prefix from the method name and transforming the first letter to lowercase; e.g. ``getFirstName()`` -> ``firstName``). :class:`Symfony\\Component\\Serializer\\Normalizer\\PropertyNormalizer`