Translate extension for MediaWiki
 
Loading...
Searching...
No Matches
MediaWiki\Extension\Translate\Cache\PersistentCache Interface Reference

Defines what method should be provided by a class implementing a persistent cache. More...

Inheritance diagram for MediaWiki\Extension\Translate\Cache\PersistentCache:
MediaWiki\Extension\Translate\Cache\PersistentDatabaseCache

Public Member Functions

 get (string ... $keynames)
 
 has (string $keyname)
 
 hasEntryWithTag (string $tag)
 
 setExpiry (string $keyname, int $expiryTime)
 
 getByTag (string $tag)
 
 set (PersistentCacheEntry ... $cacheEntry)
 
 delete (string ... $keyname)
 
 deleteEntriesWithTag (string $tag)
 
 clear ()
 

Detailed Description

Defines what method should be provided by a class implementing a persistent cache.

Definition at line 7 of file PersistentCache.php.

Member Function Documentation

◆ get()

MediaWiki\Extension\Translate\Cache\PersistentCache::get ( string ... $keynames)
Returns
PersistentCacheEntry[]

Implemented in MediaWiki\Extension\Translate\Cache\PersistentDatabaseCache.

◆ getByTag()

MediaWiki\Extension\Translate\Cache\PersistentCache::getByTag ( string $tag)
Returns
PersistentCacheEntry[]

Implemented in MediaWiki\Extension\Translate\Cache\PersistentDatabaseCache.


The documentation for this interface was generated from the following file: