dc/cache-memcache
Cache interface
0.2
2014-10-27 08:46 UTC
Requires
- ext-memcache: *
- dc/cache: 0.*
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
MIT c3f0fed8dd592e3b8ffcb6f57244dfd0f8e2daec
This package is not auto-updated.
Last update: 2026-06-21 00:01:50 UTC
README
👁 DC\Cache - Caching interface
Installation
$ composer install dc/cache-memcache
Or add it to composer.json:
"require": { "dc/cache-memcache": "0.*", }
$ composer install
Getting started
You'll need to provide a \DC\Cache\Implementations\Memcache\MemcacheConfiguration object when constructing, that will give us the connection options for your memcache session:
$cache = new \DC\Cache\Implementations\Memcache\Cache( \DC\Cache\Implementations\Memcache\MemcacheConfiguration('localhost', '2209'));
Otherwise, use it according to the interface.
