<?php
namespace SPAATG\Helper;

if ( ! defined( 'ABSPATH' ) ) {
 exit; // Exit if accessed directly.
}

use SPAATG\ShortPixelLogger\ShortPixelLogger as Log;
class DownloadHelper
{
		  private static $instance;

			public function __construct()
			{
			}

			public static function getInstance()
			{
				 if (is_null(self::$instance))
				 {
					  self::$instance = new DownloadHelper();
				 }

				 return self::$instance;
			}

      /** Remote processed-image downloads are not available in the AI SEO-only build. */
			public function downloadFile($url, $args = array())
			{
					Log::addDebug('Remote processed-image downloads are disabled in this build.', array('url' => $url));
					return false;
			}
}
