+ /**
+ * @brief Returns all the cache keys sorted alphabetically
+ *
+ * @param string $prefix Prefix of the keys (optional)
+ *
+ * @return array Empty if the driver doesn't support this feature
+ * @throws \Exception
+ */
+ public static function getAllKeys($prefix = null)
+ {
+ $time = microtime(true);
+
+ $return = self::getDriver()->getAllKeys($prefix);
+
+ self::getApp()->saveTimestamp($time, 'cache');
+
+ return $return;
+ }
+