/** * Singleton method * * @param string $context to determine if triggered from install hook * @return CRM_Postnummer_Config * @access public * @static */ public static function singleton($context = null) { if (!self::$_singleton) { self::$_singleton = new CRM_Postnummer_Config($context); } return self::$_singleton; }