Skip to content

Commit 87e350d

Browse files
committed
minor #20666 Make tag aware config examples consistent (mbabker)
This PR was merged into the 6.4 branch. Discussion ---------- Make tag aware config examples consistent The config examples for the tag aware cache config between formats wasn't consistent, so this PR gets them all to be roughly similar. Commits ------- 80eb561 Make tag aware config examples consistent
2 parents 16110c0 + 80eb561 commit 87e350d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

cache.rst

+3-2
Original file line numberDiff line numberDiff line change
@@ -603,6 +603,7 @@ to enable this feature. This could be added by using the following configuration
603603
pools:
604604
my_cache_pool:
605605
adapter: cache.adapter.redis_tag_aware
606+
tags: true
606607
607608
.. code-block:: xml
608609
@@ -619,7 +620,7 @@ to enable this feature. This could be added by using the following configuration
619620
<framework:config>
620621
<framework:cache>
621622
<framework:pool name="my_cache_pool"
622-
adapter="cache.adapter.redis"
623+
adapter="cache.adapter.redis_tag_aware"
623624
tags="true"
624625
/>
625626
</framework:cache>
@@ -635,7 +636,7 @@ to enable this feature. This could be added by using the following configuration
635636
$framework->cache()
636637
->pool('my_cache_pool')
637638
->tags(true)
638-
->adapters(['cache.adapter.redis'])
639+
->adapters(['cache.adapter.redis_tag_aware'])
639640
;
640641
};
641642

0 commit comments

Comments
 (0)