HEX
Server: Apache
System: Linux beta.alfanet.ee 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User: busines1 (1252)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: /home-ssd1/busines1/public_html/wp-content/plugins/imagify/classes/Stats/StatInterface.php
<?php
namespace Imagify\Stats;

defined( 'ABSPATH' ) || die( 'Cheatin’ uh?' );

/**
 * Interface to use to get and cache a stat.
 *
 * @since  1.9
 * @author Grégory Viguier
 */
interface StatInterface {

	/**
	 * Get the stat value.
	 *
	 * @since  1.9
	 * @access public
	 * @author Grégory Viguier
	 *
	 * @return mixed
	 */
	public function get_stat();

	/**
	 * Get and cache the stat value.
	 *
	 * @since  1.9
	 * @access public
	 * @author Grégory Viguier
	 *
	 * @return mixed
	 */
	public function get_cached_stat();

	/**
	 * Clear the stat cache.
	 *
	 * @since  1.9
	 * @access public
	 * @author Grégory Viguier
	 */
	public function clear_cache();
}