MediaWiki 1.42.1
|
Public Member Functions | |
__construct (BagOStuff $parserCacheBackend, WANObjectCache $revisionOutputCacheBackend, HookContainer $hookContainer, JsonCodec $jsonCodec, StatsFactory $stats, LoggerInterface $logger, ServiceOptions $options, TitleFactory $titleFactory, WikiPageFactory $wikiPageFactory, GlobalIdGenerator $globalIdGenerator) | |
getParserCache (string $name) | |
Get a ParserCache instance by $name. | |
getRevisionOutputCache (string $name) | |
Get a RevisionOutputCache instance by $name. | |
Public Attributes | |
const | CONSTRUCTOR_OPTIONS |
Definition at line 42 of file ParserCacheFactory.php.
MediaWiki\Parser\ParserCacheFactory::__construct | ( | BagOStuff | $parserCacheBackend, |
WANObjectCache | $revisionOutputCacheBackend, | ||
HookContainer | $hookContainer, | ||
JsonCodec | $jsonCodec, | ||
StatsFactory | $stats, | ||
LoggerInterface | $logger, | ||
ServiceOptions | $options, | ||
TitleFactory | $titleFactory, | ||
WikiPageFactory | $wikiPageFactory, | ||
GlobalIdGenerator | $globalIdGenerator ) |
BagOStuff | $parserCacheBackend | |
WANObjectCache | $revisionOutputCacheBackend | |
HookContainer | $hookContainer | |
JsonCodec | $jsonCodec | |
StatsFactory | $stats | |
LoggerInterface | $logger | |
ServiceOptions | $options | |
TitleFactory | $titleFactory | |
WikiPageFactory | $wikiPageFactory | |
GlobalIdGenerator | $globalIdGenerator |
Definition at line 106 of file ParserCacheFactory.php.
References MediaWiki\Config\ServiceOptions\assertRequiredOptions().
MediaWiki\Parser\ParserCacheFactory::getParserCache | ( | string | $name | ) |
Get a ParserCache instance by $name.
string | $name |
Definition at line 137 of file ParserCacheFactory.php.
References MediaWiki\MainConfigNames\CacheEpoch, and MediaWiki\MainConfigNames\ParserCacheFilterConfig.
MediaWiki\Parser\ParserCacheFactory::getRevisionOutputCache | ( | string | $name | ) |
Get a RevisionOutputCache instance by $name.
string | $name |
Definition at line 170 of file ParserCacheFactory.php.
References MediaWiki\MainConfigNames\CacheEpoch, and MediaWiki\MainConfigNames\OldRevisionParserCacheExpireTime.
const MediaWiki\Parser\ParserCacheFactory::CONSTRUCTOR_OPTIONS |
Definition at line 88 of file ParserCacheFactory.php.