/** * @return ItemListCollector */ public function getItemListCollector() { if (!$this->itemListCollector) { $this->itemListCollector = new ItemListCollector(); } return parent::getItemListCollector(); }
protected function initItemListCollector() { $this->itemListCollector = $this->componentFactory->getItemListCollector(); $this->itemListCollector->setEntityManager($this->entityManager); $this->itemListCollector->setImportLog($this->importLog); $this->itemListCollector->setRuntimeWatcher($this->runtimeWatcher); $this->itemListCollector->setEntityName($this->entityName); $this->itemListCollector->setImportName($this->importName); $this->itemListCollector->setOuterIdKey($this->outerIdKey); }