MediaWiki REL1_41
|
Public Member Functions | |
__construct (BagOStuff $parserCacheBackend, WANObjectCache $revisionOutputCacheBackend, HookContainer $hookContainer, JsonCodec $jsonCodec, IBufferingStatsdDataFactory $stats, LoggerInterface $logger, ServiceOptions $options, TitleFactory $titleFactory, WikiPageFactory $wikiPageFactory) | |
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 41 of file ParserCacheFactory.php.
MediaWiki\Parser\ParserCacheFactory::__construct | ( | BagOStuff | $parserCacheBackend, |
WANObjectCache | $revisionOutputCacheBackend, | ||
HookContainer | $hookContainer, | ||
JsonCodec | $jsonCodec, | ||
IBufferingStatsdDataFactory | $stats, | ||
LoggerInterface | $logger, | ||
ServiceOptions | $options, | ||
TitleFactory | $titleFactory, | ||
WikiPageFactory | $wikiPageFactory ) |
BagOStuff | $parserCacheBackend | |
WANObjectCache | $revisionOutputCacheBackend | |
HookContainer | $hookContainer | |
JsonCodec | $jsonCodec | |
IBufferingStatsdDataFactory | $stats | |
LoggerInterface | $logger | |
ServiceOptions | $options | |
TitleFactory | $titleFactory | |
WikiPageFactory | $wikiPageFactory |
Definition at line 101 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 130 of file ParserCacheFactory.php.
References MediaWiki\MainConfigNames\CacheEpoch.
MediaWiki\Parser\ParserCacheFactory::getRevisionOutputCache | ( | string | $name | ) |
Get a RevisionOutputCache instance by $name.
string | $name |
Definition at line 155 of file ParserCacheFactory.php.
References MediaWiki\MainConfigNames\CacheEpoch, and MediaWiki\MainConfigNames\OldRevisionParserCacheExpireTime.
const MediaWiki\Parser\ParserCacheFactory::CONSTRUCTOR_OPTIONS |
Definition at line 85 of file ParserCacheFactory.php.