|
MediaWiki 1.44.0
|
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 41 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 105 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 136 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 169 of file ParserCacheFactory.php.
References MediaWiki\MainConfigNames\CacheEpoch, and MediaWiki\MainConfigNames\OldRevisionParserCacheExpireTime.
| const MediaWiki\Parser\ParserCacheFactory::CONSTRUCTOR_OPTIONS |
Definition at line 87 of file ParserCacheFactory.php.