Esempio n. 1
0
 public static function getIns()
 {
     if (self::$obj instanceof self) {
         return self::$obj;
     } else {
         self::$obj = new self();
         return self::$obj;
     }
 }