Пример #1
0
 /**
  * 单例
  * @return [type] [description]
  */
 public static function get()
 {
     if (!self::$_instance instanceof self) {
         self::$_instance = new self();
     }
     return self::$_instance;
 }