MediaWiki
master
ParserCacheMetadata.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Parser
;
4
9
interface
ParserCacheMetadata
{
10
18
public
function
getCacheTime
();
19
23
public
function
getCacheRevisionId
(): ?int;
24
35
public
function
getCacheExpiry
(): int;
36
43
public
function
getUsedOptions
(): array;
44
}
MediaWiki\Parser\ParserCacheMetadata
Read-only interface for metadata about a ParserCache entry.
Definition
ParserCacheMetadata.php:9
MediaWiki\Parser\ParserCacheMetadata\getUsedOptions
getUsedOptions()
Returns the options from its ParserOptions which have been taken into account to produce the output.
MediaWiki\Parser\ParserCacheMetadata\getCacheRevisionId
getCacheRevisionId()
MediaWiki\Parser\ParserCacheMetadata\getCacheTime
getCacheTime()
Returns the timestamp when the output was cached or -1 for uncacheable for legacy reasons.
MediaWiki\Parser\ParserCacheMetadata\getCacheExpiry
getCacheExpiry()
Returns the number of seconds after which this object should expire.
MediaWiki\Parser
Definition
MagicWord.php:21
includes
parser
ParserCacheMetadata.php
Generated on Fri Oct 4 2024 14:24:44 for MediaWiki by
1.10.0