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.
115115Here is an example on how to load the
116116:class: `Symfony\\ Component\\ Serializer\\ Normalizer\\ GetSetMethodNormalizer `, a
117117faster 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:
119120
120121.. configuration-block ::
121122
@@ -154,6 +155,11 @@ getters and setters:
154155 ->addTag('serializer.normalizer')
155156 ;
156157
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+
157163.. _serializer-using-serialization-groups-annotations :
158164
159165Using Serialization Groups Annotations
You can’t perform that action at this time.
0 commit comments