示例#1
0
文件: db.php 项目: jimby/Bootsdev
 public static function getInstance()
 {
     if (!self::$instance instanceof self) {
         self::$instance = new self();
     }
     return self::$instance;
 }