Skip to content

Commit 2875b63

Browse files
committed
Merge branch '5.4' into 6.0
* 5.4: Update serializer.rst
2 parents 67ab35a + 3e1074c commit 2875b63

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/serializer.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -704,8 +704,8 @@ If you are using isser methods (methods prefixed by ``is``, like
704704
``App\Model\Person::isSportsperson()``), the Serializer component will
705705
automatically detect and use it to serialize related attributes.
706706

707-
The ``ObjectNormalizer`` also takes care of methods starting with ``has``, ``add``
708-
and ``remove``.
707+
The ``ObjectNormalizer`` also takes care of methods starting with ``has`` and
708+
``get``.
709709

710710
Using Callbacks to Serialize Properties with Object Instances
711711
-------------------------------------------------------------

0 commit comments

Comments
 (0)