friendica-5847 Console Cache List command doesn't work
- Added $prefix to all CacheDriver - Moved hostname magic to CacheDriver - Added test for getAllKeys()
This commit is contained in:
@@ -14,9 +14,11 @@ interface ICacheDriver
|
||||
/**
|
||||
* Lists all cache keys
|
||||
*
|
||||
* @param string prefix optional a prefix to search
|
||||
*
|
||||
* @return array|null Null if it isn't supported by the cache driver
|
||||
*/
|
||||
public function getAllKeys();
|
||||
public function getAllKeys($prefix = null);
|
||||
|
||||
/**
|
||||
* Fetches cached data according to the key
|
||||
|
||||
Reference in New Issue
Block a user