mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #7940 from kinglozzer/docs-memcached
DOCS: fix memcached example (closes #7934)
This commit is contained in:
commit
9f4c836072
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user