/** * {@inheritdoc} */ public function getInitialValue(Row $row) { $value = []; foreach ((array) $this->configuration['source'] as $key) { $value[] = $row->source()->get($key); } return $value; }
protected function processRow(Row $row) { foreach ($this->getProcessingPipeline() as $property => $plugins) { try { $row->destination()->set($property, $this->processProperty($row, $plugins)); } catch (SkipPropertyException $e) { $this->log()->error($e->getMessage()); } } }