HEX
Server: Apache
System: Linux 162-240-236-42.bluehost.com 3.10.0-1160.114.2.el7.x86_64 #1 SMP Wed Mar 20 15:54:52 UTC 2024 x86_64
User: bt667 (1004)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: /home/bt667/public_html/wp-content/plugins/wp-rocket-old/inc/Engine/Common/Cache/CacheInterface.php
<?php

namespace WP_Rocket\Engine\Common\Cache;

interface CacheInterface extends \WP_Rocket\Dependencies\Psr\SimpleCache\CacheInterface {

	/**
	 * Generate the real URL.
	 *
	 * @param string $url original URL.
	 * @return string
	 */
	public function generate_url( string $url ): string;

	/**
	 * Is the root path available.
	 *
	 * @return bool
	 */
	public function is_accessible(): bool;

	/**
	 * Get root path from the cache.
	 *
	 * @return string
	 */
	public function get_root_path(): string;

	/**
	 * Generate a path from the URL.
	 *
	 * @param string $url URL to change to a path.
	 * @return string
	 */
	public function generate_path( string $url ): string;
}