linkCache = $linkCache; $this->titleFormatter = $titleFormatter; $this->contentLanguage = $contentLanguage; $this->genderCache = $genderCache; $this->loadBalancer = $loadBalancer; } /** * @param iterable|iterable $initialItems items to be added * * @return LinkBatch */ public function newLinkBatch( iterable $initialItems = [] ): LinkBatch { return new LinkBatch( $initialItems, $this->linkCache, $this->titleFormatter, $this->contentLanguage, $this->genderCache, $this->loadBalancer ); } }