MediaWiki master
MediaWiki\Cache\LinkBatchFactory Class Reference

Public Member Functions

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

Detailed Description

Since
1.35

Definition at line 38 of file LinkBatchFactory.php.

Constructor & Destructor Documentation

◆ __construct()

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

Definition at line 71 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 94 of file LinkBatchFactory.php.


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