File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -115,7 +115,8 @@ possible to set the priority of the tag in order to decide the matching order.
115
115
Here is an example on how to load the
116
116
:class: `Symfony\\ Component\\ Serializer\\ Normalizer\\ GetSetMethodNormalizer `, a
117
117
faster alternative to the `ObjectNormalizer ` when data objects always use
118
- getters and setters:
118
+ getters (``getXxx() ``), issers (``isXxx() ``) or hassers (``hasXxx() ``) to read
119
+ properties and setters (``setXxx() ``) to change properties:
119
120
120
121
.. configuration-block ::
121
122
@@ -154,6 +155,11 @@ getters and setters:
154
155
->addTag('serializer.normalizer')
155
156
;
156
157
158
+ .. versionadded :: 3.4
159
+ Support of hasser methods (``hasXxx() ``) in ``GetSetMethodNormalizer `` was
160
+ introduced in Symfony 3.4. In previous Symfony versions only getters (``getXxx() ``)
161
+ and issers (``isXxx() ``) are supported.
162
+
157
163
.. _serializer-using-serialization-groups-annotations :
158
164
159
165
Using Serialization Groups Annotations
You can’t perform that action at this time.
0 commit comments