Property | Type | Description | |
---|---|---|---|
$instance | singleton instance |
Method | Description | |
---|---|---|
getInstance ( ) : static | Get instance | |
setInstance ( mixed $instance ) : void | Set or replace instance |
Method | Description | |
---|---|---|
__clone ( ) | Disabled by access level | |
__construct ( ) | Disabled by access level | |
initInstance ( ) : static | Initialization of class instance |
public static getInstance ( ) : static | ||
return | static |
protected static initInstance ( ) : static | ||
return | static |
public static setInstance ( mixed $instance ) : void | ||
$instance | mixed | |
return | void |