) );
try { $content =
$this->templateRenderer->
render( $productExport->
getHeaderTemplate(),
$headerContext->
getContext(),
$salesChannelContext->
getContext() ) . \PHP_EOL;
return $this->
replaceSeoUrlPlaceholder($content,
$productExport,
$salesChannelContext);
} catch (StringTemplateRenderingException
$exception) { $renderHeaderException = ProductExportException::
renderHeaderException($exception->
getMessage());
$this->
logException($salesChannelContext->
getContext(),
$renderHeaderException);
throw $renderHeaderException;
} } public function renderFooter( ProductExportEntity
$productExport,
SalesChannelContext
$salesChannelContext ):