Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
ProductExportResult example
new
ProductExportChangeEncodingEvent
(
$productExport
,
$content
,
mb_convert_encoding
(
$content
,
$productExport
->
getEncoding
(
)
)
)
)
;
$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
{