CodeExplorer getReader example
$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,
$exportBatchSize );
} private function findLog(string
$logId): ImportExportLogEntity
{ $criteria =
new Criteria([$logId]);
$criteria->
addAssociation('profile'
);