File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -512,8 +512,8 @@ There are several types of normalizers available:
512
512
calling the constructor during the denormalization process.
513
513
514
514
Objects are normalized to a map of property names (method name stripped of
515
- the " get"/" set"/" has"/" remove" prefix) to property
516
- values .
515
+ the get/ set/ has/ remove prefix) to property values. For example:
516
+ `` getDateOfBirth() `` is mapped to the `` DateOfBirth `` property .
517
517
518
518
The ``ObjectNormalizer `` is the most powerful normalizer. It is configured by
519
519
default when using the Symfony Standard Edition with the serializer enabled.
@@ -524,7 +524,8 @@ There are several types of normalizers available:
524
524
the constructor and the "setters" (public methods starting with "set").
525
525
526
526
Objects are normalized to a map of property names (method name stripped of
527
- the "get" prefix) to property values.
527
+ the "get" prefix) to property values. For example: ``getDateOfBirth() `` is
528
+ mapped to the ``DateOfBirth `` property.
528
529
529
530
:class: `Symfony\\ Component\\ Serializer\\ Normalizer\\ PropertyNormalizer `
530
531
This normalizer directly reads and writes public properties as well as
You can’t perform that action at this time.
0 commit comments