You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: serializer/custom_encoders.rst
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -50,8 +50,10 @@ create your own encoder that uses the
50
50
51
51
.. tip::
52
52
53
-
If you need access to ``$context`` in your ``supportsDecoding`` or ``supportsEncoding`` method, make sure
54
-
to implements ``Symfony\Component\Serializer\Encoder\ContextAwareEncoderInterface`` or ``Symfony\Component\Serializer\Encoder\ContextAwareEncoderInterface`` interface
53
+
If you need access to ``$context`` in your ``supportsDecoding`` or
54
+
``supportsEncoding`` method, make sure to implement
0 commit comments