よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
/** * Singleton pattern */ public static function get_instance() { if (!self::$instance) { self::$instance = new self(); } return self::$instance; }
/** * Singleton pattern */ public static function get_instance() { if (!self::$instance) { self::$instance = new self(); } return self::$instance; }