/** * Builds the custom-user agent by using the platform's name and version with the * plugin version * * @param string $platformName the name of the platform using the SDK * @param array $platformVersion the version of the platform using the SDK * @param array $pluginVersion the version of the plugin using the SDK */ public static function buildUserAgent($platformName, $platformVersion, $pluginVersion) { self::$userAgent = sprintf('Nosto %s / %s %s', $pluginVersion, $platformName, $platformVersion); }