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'
calls:
- [ addServer, [ 'localhost', 11211 ] ]
SilverStripe\Core\Cache\CacheFactory:
MemcachedCacheFactory:
class: 'SilverStripe\Core\Cache\MemcachedCacheFactory'
constructor:
client: '%$MemcachedClient
client: '%$MemcachedClient'
SilverStripe\Core\Cache\CacheFactory: '%$MemcachedCacheFactory'
```
## Additional Caches