major update
This commit is contained in:
15
lib/Service/Import/ImportRepositoryFactory.php
Normal file
15
lib/Service/Import/ImportRepositoryFactory.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
namespace MintyPHP\Service\Import;
|
||||
|
||||
use MintyPHP\Repository\Audit\ImportAuditRunRepository;
|
||||
|
||||
class ImportRepositoryFactory
|
||||
{
|
||||
private ?ImportAuditRunRepository $importAuditRunRepository = null;
|
||||
|
||||
public function createImportAuditRunRepository(): ImportAuditRunRepository
|
||||
{
|
||||
return $this->importAuditRunRepository ??= new ImportAuditRunRepository();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user