MediaWiki REL1_39
|
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 98 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 127 of file ParserCacheFactory.php.
References $cache, and MediaWiki\MainConfigNames\CacheEpoch.
Referenced by MediaWiki\Parser\Parsoid\ParsoidOutputAccess\__construct().
MediaWiki\Parser\ParserCacheFactory::getRevisionOutputCache | ( | string | $name | ) |
Get a RevisionOutputCache instance by $name.
string | $name |
Definition at line 152 of file ParserCacheFactory.php.
References $cache, MediaWiki\MainConfigNames\CacheEpoch, and MediaWiki\MainConfigNames\OldRevisionParserCacheExpireTime.
Referenced by MediaWiki\Parser\Parsoid\ParsoidOutputAccess\__construct().
const MediaWiki\Parser\ParserCacheFactory::CONSTRUCTOR_OPTIONS |
Definition at line 82 of file ParserCacheFactory.php.