8000 minor #9203 Mentioned the new cache.adapter.array (javiereguiluz) · symfony/symfony-docs@5bdcae7 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5bdcae7

Browse files
committed
minor #9203 Mentioned the new cache.adapter.array (javiereguiluz)
This PR was merged into the master branch. Discussion ---------- Mentioned the new cache.adapter.array This fixes the main problem described in #9110. Commits ------- 982fdae Mentioned the new cache.adapter.array
2 parents 998b0e6 + 982fdae commit 5bdcae7

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