|
MediaWiki master
|
Public Member Functions | |
| __construct (private readonly BagOStuff $parserCacheBackend, private readonly WANObjectCache $revisionOutputCacheBackend, private readonly HookContainer $hookContainer, private readonly JsonCodec $jsonCodec, private readonly StatsFactory $stats, private readonly LoggerInterface $logger, private readonly ServiceOptions $options, private readonly TitleFactory $titleFactory, private readonly WikiPageFactory $wikiPageFactory, private readonly 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 27 of file ParserCacheFactory.php.
| MediaWiki\Parser\ParserCacheFactory::__construct | ( | private readonly BagOStuff | $parserCacheBackend, |
| private readonly WANObjectCache | $revisionOutputCacheBackend, | ||
| private readonly HookContainer | $hookContainer, | ||
| private readonly JsonCodec | $jsonCodec, | ||
| private readonly StatsFactory | $stats, | ||
| private readonly LoggerInterface | $logger, | ||
| private readonly ServiceOptions | $options, | ||
| private readonly TitleFactory | $titleFactory, | ||
| private readonly WikiPageFactory | $wikiPageFactory, | ||
| private readonly GlobalIdGenerator | $globalIdGenerator ) |
Definition at line 50 of file ParserCacheFactory.php.
| MediaWiki\Parser\ParserCacheFactory::getParserCache | ( | string | $name | ) |
Get a ParserCache instance by $name.
| string | $name |
Definition at line 70 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 103 of file ParserCacheFactory.php.
References MediaWiki\MainConfigNames\CacheEpoch, and MediaWiki\MainConfigNames\OldRevisionParserCacheExpireTime.
| const MediaWiki\Parser\ParserCacheFactory::CONSTRUCTOR_OPTIONS |
Definition at line 44 of file ParserCacheFactory.php.