Skip to content

Commit 9ea5c1c

Browse files
committed
[Serializer] Add class/format/context to NameConverterInterface
Fix #19683
1 parent f7225d9 commit 9ea5c1c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

components/serializer.rst

+4
Original file line numberDiff line numberDiff line change
@@ -589,6 +589,10 @@ and :class:`Symfony\\Component\\Serializer\\Normalizer\\PropertyNormalizer`::
589589
:class:`Symfony\\Component\\Serializer\\NameConverter\\AdvancedNameConverterInterface`
590590
to access the current class name, format and context.
591591

592+
.. versionadded:: 7.1
593+
594+
Accessing the current class name, format and context via :method:`Symfony\\Component\\Serializer\\NameConverter\\NameConverterInterface::normalize` and :method:`Symfony\\Component\\Serializer\\NameConverter\\NameConverterInterface::denormalize` was introduced in Symfony 7.1.
595+
592596
.. _using-camelized-method-names-for-underscored-attributes:
593597

594598
CamelCase to snake_case

0 commit comments

Comments
 (0)