summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'MLEB/Translate/src/Cache/PersistentCache.php')
-rw-r--r--MLEB/Translate/src/Cache/PersistentCache.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/MLEB/Translate/src/Cache/PersistentCache.php b/MLEB/Translate/src/Cache/PersistentCache.php
index 723c19db..28d91c75 100644
--- a/MLEB/Translate/src/Cache/PersistentCache.php
+++ b/MLEB/Translate/src/Cache/PersistentCache.php
@@ -16,6 +16,8 @@ interface PersistentCache {
public function hasExpiredEntry( string $keyname ): bool;
+ public function setExpiry( string $keyname, int $expiryTime ): void;
+
/** @return PersistentCacheEntry[] */
public function getByTag( string $tag ): array;
@@ -27,5 +29,3 @@ interface PersistentCache {
public function clear(): void;
}
-
-class_alias( PersistentCache::class, '\MediaWiki\Extensions\Translate\PersistentCache' );