From: Aaron Schulz Date: Thu, 25 Dec 2014 22:02:50 +0000 (-0800) Subject: Added MapCacheLRU::getAllKeys() method X-Git-Tag: 1.31.0-rc.0~12757^2 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=6417abb728ef1987e581076df46a7ee27a4155a6;p=lhc%2Fweb%2Fwiklou.git Added MapCacheLRU::getAllKeys() method Change-Id: Idc9155bb55d37b083a6c1124721b74d4910ccec5 --- diff --git a/includes/libs/MapCacheLRU.php b/includes/libs/MapCacheLRU.php index 2a7ee2a671..0b6db32ef9 100644 --- a/includes/libs/MapCacheLRU.php +++ b/includes/libs/MapCacheLRU.php @@ -94,6 +94,14 @@ class MapCacheLRU { } } + /** + * @return array + * @since 1.25 + */ + public function getAllKeys() { + return array_keys( $this->cache ); + } + /** * Clear one or several cache entries, or all cache entries *