MediaWiki REL1_37
|
Public Member Functions | |
__construct (WANObjectCache $wanCache) | |
getBacklinkCache (PageReference $page) | |
Returns a BacklinkCache for $page. | |
Private Attributes | |
BacklinkCache | $latestBacklinkCache |
WANObjectCache | $wanCache |
Definition at line 33 of file BacklinkCacheFactory.php.
MediaWiki\Cache\BacklinkCacheFactory::__construct | ( | WANObjectCache | $wanCache | ) |
WANObjectCache | $wanCache |
Definition at line 43 of file BacklinkCacheFactory.php.
References MediaWiki\Cache\BacklinkCacheFactory\$wanCache.
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 57 of file BacklinkCacheFactory.php.
|
private |
Definition at line 35 of file BacklinkCacheFactory.php.
|
private |
Definition at line 38 of file BacklinkCacheFactory.php.
Referenced by MediaWiki\Cache\BacklinkCacheFactory\__construct().