Memcache
extends Base
in package
Singleton that serializes to memcached.
Table of Contents
Properties
- $_memcache : mixed
Methods
- getInstance() : ISingleton|null
- instance() : mixed
- Gets the global object instance.
- invalidate() : void
- Clears the current global object.
- serialize() : void
- Writes the object data to the storage medium.
- getMemcache() : Memcached
Properties
$_memcache
private
static mixed
$_memcache
Methods
getInstance()
public
static getInstance() : ISingleton|null
Return values
ISingleton|nullinstance()
Gets the global object instance.
public
static instance() : mixed
invalidate()
Clears the current global object.
public
static invalidate() : void
serialize()
Writes the object data to the storage medium.
public
serialize() : void
getMemcache()
protected
static getMemcache() : Memcached