8000 Mentioned the new cache.adapter.array · symfony/symfony-docs@982fdae · GitHub
[go: up one dir, main page]

Skip to content

Commit 982fdae

Browse files
committed
Mentioned the new cache.adapter.array
1 parent 998b0e6 commit 982fdae

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

reference/configuration/framework.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1768,6 +1768,13 @@ The cache adapter used by the ``cache.app`` service. The FrameworkBundle
17681768
ships with multiple adapters: ``apcu``, ``doctrine``, ``system``, ``filesystem``,
17691769
``psr6``, ``redis`` and ``memcached``.
17701770

1771+
There's also a special adapter called ``cache.adapter.array`` which stores
1772+
contents in memory using a PHP array and it's used to disable caching (mostly on
1773+
the ``dev`` environment).
1774+
1775+
.. versionadded:: 4.1
1776+
The ``cache.adapter.array`` adapter was introduced in Symfony 4.1.
1777+
17711778
.. tip::
17721779

17731780
It might be tough to understand at the beginning, so to avoid confusion remember that all pools perform the

0 commit comments

Comments
 (0)
0