Memory
extends Base
in package
Singleton that serializes to memory.
Table of Contents
Properties
- $_instance : 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.
Properties
$_instance
public
static mixed
$_instance
= []
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