Translate extension for MediaWiki
 
Loading...
Searching...
No Matches
MediaWiki\Extension\Translate\Cache\PersistentCacheEntry Class Reference

Represents a single result from the persistent cache. More...

Public Member Functions

 __construct (string $key, $value=null, int $exptime=null, string $tag=null)
 
 key ()
 
 value ()
 
 exptime ()
 
 tag ()
 
 hasExpired ()
 

Detailed Description

Represents a single result from the persistent cache.

Author
Abijeet Patro @license GPL-2.0-or-later
Since
2020.12

Definition at line 15 of file PersistentCacheEntry.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Extension\Translate\Cache\PersistentCacheEntry::__construct ( string $key,
$value = null,
int $exptime = null,
string $tag = null )

Definition at line 28 of file PersistentCacheEntry.php.

Member Function Documentation

◆ exptime()

MediaWiki\Extension\Translate\Cache\PersistentCacheEntry::exptime ( )

Definition at line 61 of file PersistentCacheEntry.php.

◆ hasExpired()

MediaWiki\Extension\Translate\Cache\PersistentCacheEntry::hasExpired ( )

Definition at line 69 of file PersistentCacheEntry.php.

◆ key()

MediaWiki\Extension\Translate\Cache\PersistentCacheEntry::key ( )

Definition at line 52 of file PersistentCacheEntry.php.

◆ tag()

MediaWiki\Extension\Translate\Cache\PersistentCacheEntry::tag ( )

Definition at line 65 of file PersistentCacheEntry.php.

◆ value()

MediaWiki\Extension\Translate\Cache\PersistentCacheEntry::value ( )
Returns
mixed

Definition at line 57 of file PersistentCacheEntry.php.


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