File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -194,13 +194,20 @@ You can also create more customized pools. All you need is an adapter:
194
194
default_memcached_provider : ' memcached://localhost'
195
195
pools :
196
196
my_cache_pool :
197
- adapter : cache.adapter.filesystem
197
+ provider : app.my_cache_chain_adapter
198
198
cache.acme :
199
199
adapter : cache.adapter.memcached
200
200
cache.foobar :
201
201
adapter : cache.adapter.memcached
202
202
provider : ' memcached://user:password@example.com'
203
203
204
+ services :
205
+ app.my_cache_chain_adapter :
206
+ class : Symfony\Component\Cache\Adapter\ChainAdapter
207
+ arguments :
208
+ - ['@cache.array', '@cache.apcu', '@cache.my_redis']
209
+ - 31536000 # One year
210
+
204
211
.. code-block :: xml
205
212
206
213
<!-- app/config/config.xml -->
You can’t perform that action at this time.
0 commit comments