dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0de4185
)
Added MapCacheLRU::getAllKeys() method
author
Aaron Schulz
<aschulz@wikimedia.org>
Thu, 25 Dec 2014 22:02:50 +0000
(14:02 -0800)
committer
Aaron Schulz
<aschulz@wikimedia.org>
Thu, 25 Dec 2014 22:02:50 +0000
(14:02 -0800)
Change-Id: Idc9155bb55d37b083a6c1124721b74d4910ccec5
includes/libs/MapCacheLRU.php
patch
|
blob
|
history
diff --git
a/includes/libs/MapCacheLRU.php
b/includes/libs/MapCacheLRU.php
index
2a7ee2a
..
0b6db32
100644
(file)
--- 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
*