MediaWiki REL1_39
MediaWiki\Cache\LinkBatchFactory Class Reference

Public Member Functions

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

Detailed Description

Since
1.35

Definition at line 41 of file LinkBatchFactory.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Cache\LinkBatchFactory::__construct ( LinkCache $linkCache,
TitleFormatter $titleFormatter,
Language $contentLanguage,
GenderCache $genderCache,
ILoadBalancer $loadBalancer,
LinksMigration $linksMigration,
LoggerInterface $logger )

Definition at line 74 of file LinkBatchFactory.php.

Member Function Documentation

◆ newLinkBatch()

MediaWiki\Cache\LinkBatchFactory::newLinkBatch ( iterable $initialItems = [])
Parameters
iterable<LinkTarget>|iterable<PageReference>$initialItems items to be added
Returns
LinkBatch

Definition at line 97 of file LinkBatchFactory.php.


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