setInvalidRecordsLog example

if ($this->logEntity->getProfileId() !== null) {
                $failedImportLogEntity = $this->importExportService->prepareExport(
                    $context,
                    $this->logEntity->getProfileId(),
                    $file->getExpireDate(),
                    $newName,
                    $config->jsonSerialize(),
                    $newPath,
                    ImportExportLogEntity::ACTIVITY_INVALID_RECORDS_EXPORT
                );

                $this->logEntity->setInvalidRecordsLog($failedImportLogEntity);
                $this->logEntity->setInvalidRecordsLogId($failedImportLogEntity->getId());
            }
        }

        /** @var ImportExportLogEntity $failedImportLogEntity */
        $failedImportLogEntity = $this->logEntity->getInvalidRecordsLog();
        $config = Config::fromLog($failedImportLogEntity);

        $offset = $failedImportLogEntity->getRecords();

        /** @var ImportExportFileEntity $failedImportLogFile */
        
Home | Imprint | This part of the site doesn't use cookies.