public function collect() { if (!$this->itemProcessCollection->count()) { return; } $items = $this->itemProcessCollection->toArray(); $this->collectItemsByValuesInProcessList($items); parent::collect(); }
protected function collectItemData() { if (!$this->isInLimits()) { return; } $this->itemCollector->init(); $this->itemCollector->collect(); if ($this->itemCollector->getError()) { $this->addError($this->itemCollector->getError()); } $this->lastItemIndex = $this->itemCollector->getLastItemIndex(); }