자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
/** * 객체의 인스턴스를 반환 * @return ProductManager * */ public static function get_instance() { //싱글톤 패턴 if (!isset(ProductManager::$m_instance)) { ProductManager::$m_instance = new ProductManager(); } return ProductManager::$m_instance; }