2026-03-04 15:56:58 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
namespace MintyPHP\Service\Import;
|
|
|
|
|
|
|
|
|
|
use MintyPHP\Repository\Audit\ImportAuditRunRepository;
|
2026-03-05 08:26:51 +01:00
|
|
|
use MintyPHP\Repository\Audit\ImportAuditRunRepositoryInterface;
|
2026-03-04 15:56:58 +01:00
|
|
|
|
|
|
|
|
class ImportRepositoryFactory
|
|
|
|
|
{
|
|
|
|
|
private ?ImportAuditRunRepository $importAuditRunRepository = null;
|
|
|
|
|
|
2026-03-05 08:26:51 +01:00
|
|
|
public function createImportAuditRunRepository(): ImportAuditRunRepositoryInterface
|
2026-03-04 15:56:58 +01:00
|
|
|
{
|
|
|
|
|
return $this->importAuditRunRepository ??= new ImportAuditRunRepository();
|
|
|
|
|
}
|
|
|
|
|
}
|