/**
  * @return ItemCollector
  */
 public function getItemCollector()
 {
     if (!$this->itemCollector) {
         $this->itemCollector = new ItemCollector();
     }
     return parent::getItemCollector();
 }
Exemple #2
0
 protected function initItemCollector()
 {
     $this->itemCollector = $this->componentFactory->getItemCollector();
     $this->itemCollector->setEntityManager($this->entityManager);
     $this->itemCollector->setImportLog($this->importLog);
     $this->itemCollector->setRuntimeWatcher($this->runtimeWatcher);
     $this->itemCollector->setEntityName($this->entityName);
     $this->itemCollector->setImportName($this->importName);
     $this->itemCollector->setOuterIdKey($this->outerIdKey);
     $this->itemCollector->setEntityObjectSetter($this->entityObjectSetter);
 }