MediaWiki
master
|
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. More... | |
getRevisionOutputCache (string $name) | |
Get a RevisionOutputCache instance by $name. More... | |
Public Attributes | |
const | CONSTRUCTOR_OPTIONS |
Private Attributes | |
HookContainer | $hookContainer |
JsonCodec | $jsonCodec |
LoggerInterface | $logger |
ServiceOptions | $options |
BagOStuff | $parserCacheBackend |
ParserCache[] | $parserCaches = [] |
WANObjectCache | $revisionOutputCacheBackend |
RevisionOutputCache[] | $revisionOutputCaches = [] |
IBufferingStatsdDataFactory | $stats |
TitleFactory | $titleFactory |
WikiPageFactory | $wikiPageFactory |
Definition at line 41 of file ParserCacheFactory.php.
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 Parser\ParserCacheFactory\$hookContainer, Parser\ParserCacheFactory\$jsonCodec, Parser\ParserCacheFactory\$logger, Parser\ParserCacheFactory\$options, Parser\ParserCacheFactory\$parserCacheBackend, Parser\ParserCacheFactory\$revisionOutputCacheBackend, Parser\ParserCacheFactory\$stats, Parser\ParserCacheFactory\$titleFactory, and Parser\ParserCacheFactory\$wikiPageFactory.
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\Rest\Handler\PageHTMLHandler\__construct(), and MediaWiki\Rest\Handler\RevisionHTMLHandler\__construct().
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\Rest\Handler\PageHTMLHandler\__construct(), and MediaWiki\Rest\Handler\RevisionHTMLHandler\__construct().
|
private |
Definition at line 53 of file ParserCacheFactory.php.
Referenced by Parser\ParserCacheFactory\__construct().
|
private |
Definition at line 56 of file ParserCacheFactory.php.
Referenced by Parser\ParserCacheFactory\__construct().
|
private |
Definition at line 62 of file ParserCacheFactory.php.
Referenced by Parser\ParserCacheFactory\__construct().
|
private |
Definition at line 77 of file ParserCacheFactory.php.
Referenced by Parser\ParserCacheFactory\__construct().
|
private |
Definition at line 47 of file ParserCacheFactory.php.
Referenced by Parser\ParserCacheFactory\__construct().
|
private |
Definition at line 71 of file ParserCacheFactory.php.
|
private |
Definition at line 50 of file ParserCacheFactory.php.
Referenced by Parser\ParserCacheFactory\__construct().
|
private |
Definition at line 74 of file ParserCacheFactory.php.
|
private |
Definition at line 59 of file ParserCacheFactory.php.
Referenced by Parser\ParserCacheFactory\__construct().
|
private |
Definition at line 65 of file ParserCacheFactory.php.
Referenced by Parser\ParserCacheFactory\__construct().
|
private |
Definition at line 68 of file ParserCacheFactory.php.
Referenced by Parser\ParserCacheFactory\__construct().
const Parser\ParserCacheFactory::CONSTRUCTOR_OPTIONS |
Definition at line 82 of file ParserCacheFactory.php.