Пример #1
0
 /**
  * 获得WeChatTypeParse的单例模式。
  */
 public static function getInstance()
 {
     if (!self::$singleton instanceof self) {
         self::$singleton = new self();
     }
     return self::$singleton;
 }