8000 Merge branch '6.4' into 7.0 · symfony/symfony-docs@e38e587 · GitHub
[go: up one dir, main page]

Skip to content

Commit e38e587

Browse files
committed
Merge branch '6.4' into 7.0
* 6.4: [Serializer] Deprecate `CacheableSupportsMethodInterface`
2 parents f8ad9ab + 0c78e70 commit e38e587

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

serializer/custom_normalizer.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,12 @@ is called.
8989
All built-in :ref:`normalizers and denormalizers <component-serializer-normalizers>`
9090
as well the ones included in `API Platform`_ natively implement this interface.
9191

92+
.. deprecated:: 6.3
93+
94+
The :class:`Symfony\\Component\\Serializer\\Normalizer\\CacheableSupportsMethodInterface`
95+
interface is deprecated since Symfony 6.3. You should implement the
96+
``getSupportedTypes()`` method instead, as shown in the section below.
97+
9298
Improving Performance of Normalizers/Denormalizers
9399
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
94100

0 commit comments

Comments
 (0)
0