HEX
Server: LiteSpeed
System: Linux standart9.isimtescil.net 3.10.0-962.3.2.lve1.5.26.7.el7.x86_64 #1 SMP Wed Oct 2 07:53:12 EDT 2019 x86_64
User: karalev (5310)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: //home/karalev/www/wp-content/plugins/kadence-starter-templates/inc/resources/Cache/Ai_Cache.php
<?php declare( strict_types=1 );

namespace KadenceWP\KadenceStarterTemplates\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;
	}

}