public static function getIns() { if (self::$obj instanceof self) { return self::$obj; } else { self::$obj = new self(); return self::$obj; } }