/** * {@inheritdoc} */ public function read() { $product = null; if ($this->products->valid()) { $product = $this->products->current(); $this->stepExecution->incrementSummaryInfo('read'); $this->products->next(); } if (null !== $product) { $channel = $this->getConfiguredChannel(); if (null !== $channel) { $this->metricConverter->convert($product, $channel); } } return $product; }