aboutsummaryrefslogtreecommitdiffstats
path: root/includes/libs/objectcache/IStoreKeyEncoder.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/libs/objectcache/IStoreKeyEncoder.php')
-rw-r--r--includes/libs/objectcache/IStoreKeyEncoder.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/includes/libs/objectcache/IStoreKeyEncoder.php b/includes/libs/objectcache/IStoreKeyEncoder.php
index b7223ef44f7f..b39ec8035dd8 100644
--- a/includes/libs/objectcache/IStoreKeyEncoder.php
+++ b/includes/libs/objectcache/IStoreKeyEncoder.php
@@ -1,5 +1,7 @@
<?php
+namespace Wikimedia\ObjectCache;
+
/**
* Key-encoding methods for object caching (BagOStuff and WANObjectCache)
*
@@ -9,17 +11,24 @@
interface IStoreKeyEncoder {
/**
* @see BagOStuff::makeGlobalKey
+ *
* @param string $keygroup
* @param string|int ...$components
+ *
* @return string
*/
public function makeGlobalKey( $keygroup, ...$components );
/**
* @see BagOStuff::makeKey
+ *
* @param string $keygroup
* @param string|int ...$components
+ *
* @return string
*/
public function makeKey( $keygroup, ...$components );
}
+
+/** @deprecated class alias since 1.43 */
+class_alias( IStoreKeyEncoder::class, 'IStoreKeyEncoder' );