HEX
Server: LiteSpeed
System: Linux premium321.web-hosting.com 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64
User: apkvhicq (1211)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: //home/apkvhicq/s92bet.pk/wp-content/plugins/kadence-blocks/includes/resources/Cache/Ai_Cache.php
<?php declare( strict_types=1 );

namespace KadenceWP\KadenceBlocks\Cache;

/**
 * Caches AI Related files.
 */
final class Ai_Cache extends Block_Library_Cache {

	/**
	 * Create a hashed file name from provided identifier.
	 *
	 * @param mixed $identifier Unique data to identify this file.
	 *
	 * @return string
	 * @throws \InvalidArgumentException
	 * @throws \RuntimeException
	 */
	protected function filename( $identifier ): string {
		return $this->hasher->hash( [
			'kadence-ai-generated-content',
			$identifier,
		] ) . $this->ext;
	}

}