Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ae63f8a

Browse filesBrowse files
committed
Add a note block
1 parent ca5e2e0 commit ae63f8a
Copy full SHA for ae63f8a

File tree

1 file changed

+5
-2
lines changed
Filter options

1 file changed

+5
-2
lines changed

‎components/serializer.rst

Copy file name to clipboardExpand all lines: components/serializer.rst
+5-2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.