From c190a8d66ed8578c47576d93376a72b14a19de03 Mon Sep 17 00:00:00 2001 From: Alexandre Daubois Date: Mon, 17 Jul 2023 13:40:43 +0200 Subject: [PATCH] [Serializer] Deprecate `CacheableSupportsMethodInterface` --- serializer/custom_normalizer.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/serializer/custom_normalizer.rst b/serializer/custom_normalizer.rst index b17984bdf5b..5b70acecdb5 100644 --- a/serializer/custom_normalizer.rst +++ b/serializer/custom_normalizer.rst @@ -82,6 +82,12 @@ is called. All built-in :ref:`normalizers and denormalizers ` as well the ones included in `API Platform`_ natively implement this interface. +.. deprecated:: 6.3 + + The :class:`Symfony\\Component\\Serializer\\Normalizer\\CacheableSupportsMethodInterface` + interface is deprecated since Symfony 6.3. You should implement the + ``getSupportedTypes()`` method instead, as shown in the section below. + Improving Performance of Normalizers/Denormalizers ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~