public static function getInstance() { if (!self::$instance) { self::$instance = new static(); } return self::$instance; }
/** * Get Kunena activity integration object * * Returns the global {@link KunenaIntegrationActivity} object, only creating it if it doesn't already exist. * * @return KunenaIntegrationActivity */ public static function getActivityIntegration() { return KunenaIntegrationActivity::getInstance(); }