private readonly \IteratorAggregate
$readerFactories,
private readonly \IteratorAggregate
$writerFactories,
private readonly \IteratorAggregate
$pipeFactories ) { } public function create(string
$logId, int
$importBatchSize = 250, int
$exportBatchSize = 250
): ImportExport
{ $logEntity =
$this->
findLog($logId);
$repository =
$this->
getRepository($logEntity);
return new ImportExport( $this->importExportService,
$logEntity,
$this->filesystem,
$this->eventDispatcher,
$this->connection,
$repository,
$this->
getPipe($logEntity),
$this->
getReader($logEntity),
$this->
getWriter($logEntity),
$this->fileService,
$importBatchSize,