From e84c5eee251d11971d9ab86d0f4b696b3c171097 Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Mon, 6 Apr 2020 15:57:03 +0200 Subject: [PATCH] Mention that DoctrineCacheBundle is deprecated --- reference/configuration/doctrine.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/reference/configuration/doctrine.rst b/reference/configuration/doctrine.rst index 774150e2482..5705a50c6ee 100644 --- a/reference/configuration/doctrine.rst +++ b/reference/configuration/doctrine.rst @@ -222,6 +222,13 @@ Keep in mind that you can't use both syntaxes at the same time. Caching Drivers ~~~~~~~~~~~~~~~ +.. deprecated:: 4.4 + + All the Doctrine caching types are deprecated since Symfony 4.4 and won't + be available in Symfony 5.0 and higher. Replace them with either ``type: service`` + or ``type: pool`` and use any of the cache pools/services defined with + :doc:`Symfony Cache `. + The built-in types of caching drivers are: ``array``, ``apc``, ``apcu``, ``memcache``, ``memcached``, ``redis``, ``wincache``, ``zenddata`` and ``xcache``. There is a special type called ``service`` which lets you define the ID of your