summaryrefslogtreecommitdiff
path: root/classes/cache/adapter.php
diff options
context:
space:
mode:
Diffstat (limited to 'classes/cache/adapter.php')
-rw-r--r--classes/cache/adapter.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/classes/cache/adapter.php b/classes/cache/adapter.php
index da69c5bb1..88dca21b9 100644
--- a/classes/cache/adapter.php
+++ b/classes/cache/adapter.php
@@ -9,6 +9,11 @@ interface Cache_Adapter {
* @return int|false -1 if the file doesn't exist, false if an error occurred, size in bytes otherwise
*/
public function get_size(string $filename);
+
+ /**
+ * @return int|false -1 if the file doesn't exist, false if an error occurred, timestamp otherwise
+ */
+ public function get_mtime(string $filename);
/**
* @param mixed $data
*