16 lines
381 B
PHP
16 lines
381 B
PHP
|
|
<?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();
|
||
|
|
}
|
||
|
|
}
|