/**
* Initializes the iterator with the source data.
*
- * @return array
- * An array of the data for this source.
+ * @return \Iterator
+ * Returns an iteratable object of data for this source.
*/
abstract protected function initializeIterator();
$row_data = $this->getIterator()->current() + $this->configuration;
$this->fetchNextRow();
- $row = new Row($row_data, $this->migration->getSourcePlugin()->getIds(), $this->migration->getDestinationIds());
+ $row = new Row($row_data, $this->getIds());
// Populate the source key for this row.
$this->currentSourceIds = $row->getSourceIdValues();