示例#1
0
 public static function instance()
 {
     if (!self::$instance) {
         self::$instance = static::load();
     }
     return self::$instance;
 }
示例#2
0
 public static function restart()
 {
     self::$instance = null;
     return static::instance();
 }