X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=src%2FCore%2FCache%2FArrayCache.php;h=a99b05788f64e75e46d5d8e4df8c230bdcf6c414;hb=ef0545645a3054a6433340e7ac170c1933e670cc;hp=d1302c1d6ec327d5f04a0a570b58c4da747954b5;hpb=3dfb0c2e7cc84dc7e43a975f44e8854b98d043bc;p=friendica.git diff --git a/src/Core/Cache/ArrayCache.php b/src/Core/Cache/ArrayCache.php index d1302c1d6e..a99b05788f 100644 --- a/src/Core/Cache/ArrayCache.php +++ b/src/Core/Cache/ArrayCache.php @@ -19,6 +19,14 @@ class ArrayCache extends AbstractCacheDriver implements IMemoryCacheDriver /** @var array Array with the cached data */ protected $cachedData = array(); + /** + * (@inheritdoc) + */ + public function getAllKeys($prefix = null) + { + return $this->filterArrayKeysByPrefix($this->cachedData, $prefix); + } + /** * (@inheritdoc) */