Skip to content

Commit ae63f8a

Browse files
committed
Add a note block
1 parent ca5e2e0 commit ae63f8a

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

components/serializer.rst

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -481,8 +481,11 @@ and :class:`Symfony\\Component\\Serializer\\Normalizer\\PropertyNormalizer`::
481481
$companyCopy = $serializer->deserialize($json, Company::class, 'json');
482482
// Same data as $company
483483

484-
It is also possible to access to the current class name, format and context by implementing the
485-
:class:`Symfony\\Component\\Serializer\\NameConverter\\AdvancedNameConverterInterface` interface.
484+
.. note::
485+
486+
Since Symfony 4.2, it is also possible to access to the current class name, format and
487+
context by implementing the :class:`Symfony\\Component\\Serializer\\NameConverter\\AdvancedNameConverterInterface`
488+
interface.
486489

487490
.. _using-camelized-method-names-for-underscored-attributes:
488491

0 commit comments

Comments
 (0)