protected static function getHttpClient($cacheDir)
	{
		if (!isset(self::$client) || self::$clientCacheDir !== $cacheDir)
		{
			self::$client = (isset($cacheDir)) ? Http::getCachingClient($cacheDir) : Http::getClient();
			self::$clientCacheDir = $cacheDir;
		}

		return self::$client;
	}
protected static function getHttpClient($cacheDir)
	{
		if (!isset(self::$client) || self::$clientCacheDir !== $cacheDir)
		{
			self::$client = (isset($cacheDir)) ? Http::getCachingClient($cacheDir) : Http::getClient();
			self::$clientCacheDir = $cacheDir;
		}

		return self::$client;
	}
protected static function getHttpClient ( $ cacheDir ) { if ( ! isset ( self :: $ client ) || self :: $ clientCacheDir !== $ cacheDir ) { self :: $ client = ( isset ( $ cacheDir ) ) ? Http :: getCachingClient ( $ cacheDir ) : Http :: getClient ( ) ; self :: $ clientCacheDir = $ cacheDir ; } return self :: $ client ; }
Return a cached instance of the HTTP client

@param  string|null $cacheDir
@return \s9e\TextFormatter\Utils\Http\Client
Return a cached instance of the HTTP client