프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$instance | singleton instance |
메소드 | 설명 | |
---|---|---|
getInstance ( ) : static | Get instance | |
setInstance ( mixed $instance ) : void | Set or replace instance |
메소드 | 설명 | |
---|---|---|
__clone ( ) | Disabled by access level | |
__construct ( ) | Disabled by access level | |
initInstance ( ) : static | Initialization of class instance |
protected static initInstance ( ) : static | ||
리턴 | static |
public static setInstance ( mixed $instance ) : void | ||
$instance | mixed | |
리턴 | void |