protected function doLinkBatch() { $batch = new LinkBatch(); $batch->setCaller(__METHOD__); foreach ($this->collection->getTitles() as $title) { $batch->addObj($title); } $batch->execute(); }