Get all cache in given namespace

Notice: This thread is very old.
doublemcz
Member | 15
+
0
-

Hi mates,

is there a possibility to get all keys in cache (in given namespace)?

$cache = new Cache($storage, "NAMESPACE");
$cache->save(1, "foo");
$cache->save(2, "bar");

I would like to do something like $cache->getAllKeys() and iterate over them.

Jan Tvrdík
Nette guru | 2595
+
0
-

No, this is not possible.