Skip to content

digitalcreations/cache-memcached

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DC\Cache - Caching interface

Installation

$ composer install dc/cache-memcached

Or add it to composer.json:

"require": {
	"dc/cache-memcached": "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 memcached session:

$cache = new \DC\Cache\Implementations\Memcached\Cache(
  \DC\Cache\Implementations\Memcached\MemcacheConfiguration('localhost', '2209'));

Otherwise, use it according to the interface.

About

Memcached implementation of cache interface

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages