SingletonBar
extends Singleton
in package
Singleton class
Table of Contents
- $tmp : mixed
- $instances : mixed
- Created instances of different objects
- __clone() : mixed
- Cloner
- __construct() : mixed
- Constructor
- destroy() : mixed
- Destroy object
- getInstance() : mixed
- Function returns instance of the object
Properties
$tmp
public
mixed
$tmp
= 'Default bar value'
$instances
Created instances of different objects
private
static mixed
$instances
Methods
__clone()
Cloner
public
__clone() : mixed
Return values
mixed —__construct()
Constructor
public
__construct() : mixed
Return values
mixed —destroy()
Destroy object
public
destroy() : mixed
Return values
mixed —getInstance()
Function returns instance of the object
public
static getInstance() : mixed