Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e4912a8

Browse files
committed
minor #13501 Mention that DoctrineCacheBundle is deprecated (javiereguiluz)
This PR was merged into the 4.4 branch. Discussion ---------- Mention that DoctrineCacheBundle is deprecated Fixes #13275. Commits ------- e84c5ee Mention that DoctrineCacheBundle is deprecated
2 parents 8e46ff7 + e84c5ee commit e4912a8

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

reference/configuration/doctrine.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,13 @@ Keep in mind that you can't use both syntaxes at the same time.
222222
Caching Drivers
223223
~~~~~~~~~~~~~~~
224224

225+
.. deprecated:: 4.4
226+
227+
All the Doctrine caching types are deprecated since Symfony 4.4 and won't
228+
be available in Symfony 5.0 and higher. Replace them with either ``type: service``
229+
or ``type: pool`` and use any of the cache pools/services defined with
230+
:doc:`Symfony Cache </cache>`.
231+
225232
The built-in types of caching drivers are: ``array``, ``apc``, ``apcu``,
226233
``memcache``, ``memcached``, ``redis``, ``wincache``, ``zenddata`` and ``xcache``.
227234
There is a special type called ``service`` which lets you define the ID of your

0 commit comments

Comments
 (0)