DOCS: fix memcached example (closes #7934)

This commit is contained in:
Loz Calver 2018-03-16 16:30:48 +00:00
parent 548e9358b0
commit cd6923965c

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