MediaWiki
REL1_37
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
ParserCacheFactory.php:22
includes
parser
ParserCacheMetadata.php
Generated on Fri Apr 5 2024 23:40:41 for MediaWiki by
1.9.8