Merge pull request #7940 from kinglozzer/docs-memcached

DOCS: fix memcached example (closes #7934)
This commit is contained in:
Daniel Hensby 2018-03-18 08:33:46 +00:00 committed by GitHub
commit 9f4c836072
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -202,10 +202,11 @@ SilverStripe\Core\Injector\Injector:
class: 'Memcached' class: 'Memcached'
calls: calls:
- [ addServer, [ 'localhost', 11211 ] ] - [ addServer, [ 'localhost', 11211 ] ]
SilverStripe\Core\Cache\CacheFactory: MemcachedCacheFactory:
class: 'SilverStripe\Core\Cache\MemcachedCacheFactory' class: 'SilverStripe\Core\Cache\MemcachedCacheFactory'
constructor: constructor:
client: '%$MemcachedClient client: '%$MemcachedClient'
SilverStripe\Core\Cache\CacheFactory: '%$MemcachedCacheFactory'
``` ```
## Additional Caches ## Additional Caches