$this->translator->
resetInjection();
$this->connection->
delete('sales_channel_api_context',
['token' =>
$contextToken]);
if (empty($content)) { return null;
} return new ProductExportResult( $encodingEvent->
getEncodedContent(),
$this->productExportValidator->
validate($productExport,
$encodingEvent->
getEncodedContent()),
$iterator->
getTotal() );
} /**
* @return array<string>
*/
private function getAssociations(ProductExportEntity
$productExport, SalesChannelContext
$context): array
{ try {