MediaWiki  master
MediaWiki\Cache\LinkBatchFactory Class Reference
Collaboration diagram for MediaWiki\Cache\LinkBatchFactory:

Public Member Functions

 __construct (LinkCache $linkCache, TitleFormatter $titleFormatter, Language $contentLanguage, GenderCache $genderCache, ILoadBalancer $loadBalancer)
 
 newLinkBatch (iterable $initialItems=[])
 

Private Attributes

Language $contentLanguage
 
GenderCache $genderCache
 
LinkCache $linkCache
 
ILoadBalancer $loadBalancer
 
TitleFormatter $titleFormatter
 

Detailed Description

Since
1.35

Definition at line 38 of file LinkBatchFactory.php.

Constructor & Destructor Documentation

◆ __construct()

Member Function Documentation

◆ newLinkBatch()

MediaWiki\Cache\LinkBatchFactory::newLinkBatch ( iterable  $initialItems = [])
Parameters
iterable | LinkTarget[]$initialItemsInitial items to be added to the batch
Returns
LinkBatch

Definition at line 83 of file LinkBatchFactory.php.

Member Data Documentation

◆ $contentLanguage

Language MediaWiki\Cache\LinkBatchFactory::$contentLanguage
private

Definition at line 53 of file LinkBatchFactory.php.

Referenced by MediaWiki\Cache\LinkBatchFactory\__construct().

◆ $genderCache

GenderCache MediaWiki\Cache\LinkBatchFactory::$genderCache
private

Definition at line 58 of file LinkBatchFactory.php.

Referenced by MediaWiki\Cache\LinkBatchFactory\__construct().

◆ $linkCache

LinkCache MediaWiki\Cache\LinkBatchFactory::$linkCache
private

Definition at line 43 of file LinkBatchFactory.php.

Referenced by MediaWiki\Cache\LinkBatchFactory\__construct().

◆ $loadBalancer

ILoadBalancer MediaWiki\Cache\LinkBatchFactory::$loadBalancer
private

Definition at line 63 of file LinkBatchFactory.php.

Referenced by MediaWiki\Cache\LinkBatchFactory\__construct().

◆ $titleFormatter

TitleFormatter MediaWiki\Cache\LinkBatchFactory::$titleFormatter
private

Definition at line 48 of file LinkBatchFactory.php.

Referenced by MediaWiki\Cache\LinkBatchFactory\__construct().


The documentation for this class was generated from the following file: