Redis
extends Base
in package
Singleton that serializes to Redis.
Table of Contents
Properties
- $_redis : 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.
- getRedis() : Redis
Properties
$_redis
private
static mixed
$_redis
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
getRedis()
protected
static getRedis() : Redis