/** * {@inheritdoc} */ public function setImportExportContext(ContextInterface $context) { $this->context = $context; if ($this->strategy && $this->strategy instanceof ContextAwareInterface) { $this->strategy->setImportExportContext($this->context); } }
/** * {@inheritdoc} */ public function process($item) { if ($this->strategy) { $this->strategy->setImportExportContext($this->importExportContext); $item = $this->strategy->process($item); } return $item; }