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`