This commit is contained in:
부모
76880ae4e2
커밋
c4416ef631
@ -5,7 +5,7 @@ final class Test {
|
||||
}
|
||||
|
||||
/* This is singleton */
|
||||
public object getInstance() {
|
||||
public static object getInstance() {
|
||||
static object $instance;
|
||||
if(!$instance) {
|
||||
$instance = new Test();
|
||||
|
불러오는 중...
x
Reference in New Issue
Block a user