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
}
Parser\ParserCacheMetadata
Read-only interface for metadata about a ParserCache entry.
Definition:
ParserCacheMetadata.php:9
Parser\ParserCacheMetadata\getCacheRevisionId
getCacheRevisionId()
Parser\ParserCacheMetadata\getCacheExpiry
getCacheExpiry()
Returns the number of seconds after which this object should expire.
Parser\ParserCacheMetadata\getUsedOptions
getUsedOptions()
Returns the options from its ParserOptions which have been taken into account to produce the output.
Parser\ParserCacheMetadata\getCacheTime
getCacheTime()
Returns the timestamp when the output was cached or -1 for uncacheable for legacy reasons.
MediaWiki\Parser
Definition:
MagicWord.php:24
includes
parser
ParserCacheMetadata.php
Generated on Fri Jun 9 2023 21:08:52 for MediaWiki by
1.9.1