Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit99caf6a

Browse files
committed
Fixes
1 parentdd2db50 commit99caf6a

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 forconfigure a chain using ``framework.cache.pools`` was introduced in Symfony 4.4.
381+
Support forconfiguring 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:poolname="my_cache_pool"default-lifetime="31536000">
411411
<framework:adaptername="cache.adapter.array" />
412412
<framework:adaptername="cache.adapter.apcu" />
413-
<framework:adaptername="cache.adapter.redis"provider="app.cache.provider.redis" />
413+
<framework:adaptername="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)

[8]ページ先頭

©2009-2025 Movatter.jp