]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/Cache/ICacheDriver.php
Add new Cache console command
[friendica.git] / src / Core / Cache / ICacheDriver.php
index e83b921c6ab1c7baac2fafbd86ddb05ab3249065..b77aa03c162de44abea89ac60415e735cc03d5e0 100644 (file)
@@ -7,10 +7,17 @@ use Friendica\Core\Cache;
 /**
  * Cache Driver Interface
  *
- * @author Hypolite Petovan <mrpetovan@gmail.com>
+ * @author Hypolite Petovan <hypolite@mrpetovan.com>
  */
 interface ICacheDriver
 {
+       /**
+        * Lists all cache keys
+        *
+        * @return array|null Null if it isn't supported by the cache driver
+        */
+       public function getAllKeys();
+
        /**
         * Fetches cached data according to the key
         *