Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/ICache.php')
-rw-r--r--lib/public/ICache.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/public/ICache.php b/lib/public/ICache.php
index 47b0e2f4c3d..0e818277f60 100644
--- a/lib/public/ICache.php
+++ b/lib/public/ICache.php
@@ -76,4 +76,10 @@ interface ICache {
* @since 6.0.0
*/
public function clear($prefix = '');
+
+ /**
+ * Check if the cache implementation is available
+ * @since 24.0.0
+ */
+ public static function isAvailable(): bool;
}