File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -194,20 +194,13 @@ You can also create more customized pools. All you need is an adapter:
194194 default_memcached_provider : ' memcached://localhost'
195195 pools :
196196 my_cache_pool :
197- provider : app.my_cache_chain_adapter
197+ provider : cache.adapter.filesystem
198198 cache.acme :
199199 adapter : cache.adapter.memcached
200200 cache.foobar :
201201 adapter : cache.adapter.memcached
202202 provider : ' memcached://user:password@example.com'
203203
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-
211204 .. code-block :: xml
212205
213206 <!-- app/config/config.xml -->
@@ -250,9 +243,8 @@ You can also create more customized pools. All you need is an adapter:
250243 ],
251244 ]);
252245
253-
254246 The configuration above will create 3 services: ``my_cache_pool ``, ``cache.acme ``
255- and ``cache.foobar ``. The ``my_cache_pool `` pool is using the ArrayAdapter
247+ and ``cache.foobar ``. The ``my_cache_pool `` pool is using the filesystem adapter
256248and the other two are using the :doc: `MemcachedAdapter </components/cache/adapters/memcached_adapter >`.
257249The ``cache.acme `` pool is using the Memcached server on localhost and ``cache.foobar ``
258250is using the Memcached server at example.com.
You can’t perform that action at this time.
0 commit comments