diff --git a/resources/interfaces/clear_cache.php b/resources/interfaces/clear_cache.php new file mode 100644 index 0000000000..da3837db6b --- /dev/null +++ b/resources/interfaces/clear_cache.php @@ -0,0 +1,39 @@ + + * Portions created by the Initial Developer are Copyright (C) 2008-2025 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Mark J Crane + * Tim Fry + */ + +/** + * Any class that implements the clear_cache interface will automatically be called when the cache button is pressed + * @author Tim Fry + */ +interface clear_cache { + /** + * The clear_cache method is called automatically for any class that implements the clear_cache interface. + * The function declared here ensures that all clear_cache methods have the same number of parameters being passed, which in this case, is no parameters. + */ + public static function clear_cache(); +}