Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5978500
PersistentCache.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
774 B
Referenced Files
None
Subscribers
None
PersistentCache.php
View Options
<?php
declare
(
strict_types
=
1
);
namespace
MediaWiki\Extension\Translate\Cache
;
/** Defines what method should be provided by a class implementing a persistent cache */
interface
PersistentCache
{
/** @return PersistentCacheEntry[] */
public
function
get
(
string
...
$keynames
):
array
;
public
function
has
(
string
$keyname
):
bool
;
public
function
hasEntryWithTag
(
string
$tag
):
bool
;
public
function
setExpiry
(
string
$keyname
,
int
$expiryTime
):
void
;
/** @return PersistentCacheEntry[] */
public
function
getByTag
(
string
$tag
):
array
;
public
function
set
(
PersistentCacheEntry
...
$cacheEntry
):
void
;
public
function
delete
(
string
...
$keyname
):
void
;
public
function
deleteEntriesWithTag
(
string
$tag
):
void
;
public
function
clear
():
void
;
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Oct 3, 20:26 (3 d, 21 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
84/08/cc7a08ab57745a8b8712a827eaf9
Default Alt Text
PersistentCache.php (774 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment