Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
getProductExportId example
$this
->productExportFileHandler->
writeProductExportContent
(
$exportResult
->
getContent
(
)
,
$filePath
,
$productExportPartialGeneration
->
getOffset
(
)
> 0
)
;
if
(
$productExportPartialGeneration
->
getOffset
(
)
+
$this
->readBufferSize <
$exportResult
->
getTotal
(
)
)
{
$this
->messageBus->
dispatch
(
new
ProductExportPartialGeneration
(
$productExportPartialGeneration
->
getProductExportId
(
)
,
$productExportPartialGeneration
->
getSalesChannelId
(
)
,
$productExportPartialGeneration
->
getOffset
(
)
+
$this
->readBufferSize
)
)
;
return
;
}
$this
->
finalizeExport
(
$productExport
,
$filePath
)
;
}