Skip to content

Commit 99caf6a

Browse files
committed
Fixes
1 parent dd2db50 commit 99caf6a

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

cache.rst

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ case the value needs to be recalculated.
378378

379379
.. versionadded:: 4.4
380380

381-
Support for configure a chain using ``framework.cache.pools`` was introduced in Symfony 4.4.
381+
Support for configuring a chain using ``framework.cache.pools`` was introduced in Symfony 4.4.
382382

383383
.. configuration-block::
384384

@@ -410,7 +410,7 @@ case the value needs to be recalculated.
410410
<framework:pool name="my_cache_pool" default-lifetime="31536000">
411411
<framework:adapter name="cache.adapter.array" />
412412
<framework:adapter name="cache.adapter.apcu" />
413-
<framework:adapter name="cache.adapter.redis" provider="app.cache.provider.redis" />
413+
<framework:adapter name="cache.adapter.redis" provider="redis://user:password@example.com" />
414414
</framework:pool>
415415
</framework:cache>
416416
</framework:config>
@@ -427,21 +427,13 @@ case the value needs to be recalculated.
427427
'adapters' => [
428428
'cache.adapter.array',
429429
'cache.adapter.apcu',
430-
'redis://user:password@example.com' => 'cache.adapter.redis',
430+
['name' => 'cache.adapter.redis', 'provider' => 'redis://user:password@example.com'],
431431
],
432432
],
433433
],
434434
],
435435
]);
436436
437-
.. note::
438-
439-
In this configuration the ``my_cache_pool`` pool is using the ``cache.adapter.psr6``
440-
adapter and the ``app.my_cache_chain_adapter`` service as a provider. That is
441-
because ``ChainAdapter`` does not support the ``cache.pool`` tag. So it is decorated
442-
with the ``ProxyAdapter``.
443-
444-
445437
Using Cache Tags
446438
----------------
447439

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy