예제 #1
0
파일: single.php 프로젝트: holyCoco/phpdemo
 public static function getInstance($p1)
 {
     if (!self::$instance instanceof self) {
         self::$instance = new self($p1);
     }
     return self::$instance;
 }