@@ -510,9 +510,10 @@ There are several types of normalizers available:
510
510
directly and through getters, setters, hassers, adders and removers. It supports
511
511
calling the constructor during the denormalization process.
512
512
513
- Objects are normalized to a map of property names (method name stripped of
514
- the "get"/"set"/"has"/"remove" prefix) to property
515
- values.
513
+ Objects are normalized to a map of property names and values (names are
514
+ generated removing the ``get ``, ``set ``, ``has `` or ``remove `` prefix from
515
+ the method name and lowercasing the first letter; e.g. ``getFirstName() `` ->
516
+ ``firstName ``).
516
517
517
518
The ``ObjectNormalizer `` is the most powerful normalizer. It is configured by
518
519
default when using the Symfony Standard Edition with the serializer enabled.
@@ -522,8 +523,9 @@ There are several types of normalizers available:
522
523
(public methods starting with "get"). It will denormalize data by calling
523
524
the constructor and the "setters" (public methods starting with "set").
524
525
525
- Objects are normalized to a map of property names (method name stripped of
526
- the "get" prefix) to property values.
526
+ Objects are normalized to a map of property names and values (names are
527
+ generated removing the ``get `` prefix from the method name and lowercasing
528
+ the first letter; e.g. ``getFirstName() `` -> ``firstName ``).
527
529
528
530
:class: `Symfony\\ Component\\ Serializer\\ Normalizer\\ PropertyNormalizer `
529
531
This normalizer directly reads and writes public properties as well as
0 commit comments