Skip to content

Commit 80eb561

Browse files
authored
Make tag aware config examples consistent
1 parent 16110c0 commit 80eb561

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)