|
MediaWiki master
|
Public Member Functions | |
| __construct (ServiceOptions $options, LinksMigration $linksMigration, WANObjectCache $wanCache, HookContainer $hookContainer, IConnectionProvider $dbProvider, RestrictionStore $restrictionStore, LoggerInterface $logger) | |
| getBacklinkCache (PageReference $page) | |
| Returns a BacklinkCache for $page. | |
Definition at line 24 of file BacklinkCacheFactory.php.
| MediaWiki\Cache\BacklinkCacheFactory::__construct | ( | ServiceOptions | $options, |
| LinksMigration | $linksMigration, | ||
| WANObjectCache | $wanCache, | ||
| HookContainer | $hookContainer, | ||
| IConnectionProvider | $dbProvider, | ||
| RestrictionStore | $restrictionStore, | ||
| LoggerInterface | $logger ) |
Definition at line 40 of file BacklinkCacheFactory.php.
| MediaWiki\Cache\BacklinkCacheFactory::getBacklinkCache | ( | PageReference | $page | ) |
Returns a BacklinkCache for $page.
May re-use previously created instances.
Currently, only one cache instance can exist; callers that need multiple backlink cache objects should keep them in scope.
| PageReference | $page | Page to get a backlink cache for |
Definition at line 68 of file BacklinkCacheFactory.php.