File tree 1 file changed +3
-11
lines changed
1 file changed +3
-11
lines changed Original file line number Diff line number Diff line change @@ -378,7 +378,7 @@ case the value needs to be recalculated.
378
378
379
379
.. versionadded :: 4.4
380
380
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.
382
382
383
383
.. configuration-block ::
384
384
@@ -410,7 +410,7 @@ case the value needs to be recalculated.
410
410
<framework : pool name =" my_cache_pool" default-lifetime =" 31536000" >
411
411
<framework : adapter name =" cache.adapter.array" />
412
412
<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:[email protected] " />
414
414
</framework : pool >
415
415
</framework : cache >
416
416
</framework : config >
@@ -427,21 +427,13 @@ case the value needs to be recalculated.
427
427
'adapters' => [
428
428
'cache.adapter.array',
429
429
'cache.adapter.apcu',
430
- 'redis://user:[email protected] ' => 'cache.adapter.redis',
430
+ ['name ' => 'cache.adapter.redis', 'provider' => 'redis://user:[email protected] '] ,
431
431
],
432
432
],
433
433
],
434
434
],
435
435
]);
436
436
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
-
445
437
Using Cache Tags
446
438
----------------
447
439
You can’t perform that action at this time.
0 commit comments