Skip to content

Commit 0c541a0

Browse files
committed
Merge branch '5.4' into 6.2
* 5.4: update framework configuration reference for cache
2 parents 4a6ad8c + 754fc82 commit 0c541a0

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

reference/configuration/framework.rst

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2879,7 +2879,18 @@ app
28792879
The cache adapter used by the ``cache.app`` service. The FrameworkBundle
28802880
ships with multiple adapters: ``cache.adapter.apcu``, ``cache.adapter.doctrine``,
28812881
``cache.adapter.system``, ``cache.adapter.filesystem``, ``cache.adapter.psr6``,
2882-
``cache.adapter.redis``, ``cache.adapter.memcached`` and ``cache.adapter.pdo``.
2882+
``cache.adapter.redis``, ``cache.adapter.memcached``, ``cache.adapter.pdo``,
2883+
``cache.adapter.doctrine_dbal``.
2884+
2885+
.. versionadded:: 5.4
2886+
2887+
``cache.adapter.doctrine_dbal`` was introduced in Symfony 5.4.
2888+
2889+
.. deprecated:: 5.4
2890+
2891+
Using ``cache.adapter.doctrine`` has been deprecated in favor of Symfony
2892+
Cache or PSR-6 adapters provided by Doctrine Cache and will be removed in
2893+
6.0.
28832894

28842895
There's also a special adapter called ``cache.adapter.array`` which stores
28852896
contents in memory using a PHP array and it's used to disable caching (mostly on

0 commit comments

Comments
 (0)