public static function getInstance() { if (is_null(self::$instance)) { self::$instance = new AppCacheManifest(); } return self::$instance; }
/** * Sets custom file for getting of manifest content * self::MANIFEST_CHECK_FILE uses by default *@param string $customManifestCheckFile */ public static function setManifestCheckFile($customManifestCheckFile) { self::$customCheckFile = $customManifestCheckFile; }
/** * Creates or updates the manifest file for the page with usage its content. * * @param bool $isEnable * * @internal param $content */ public static function setEnabled($isEnabled = true) { self::$isEnabled = (bool) $isEnabled; }