<?php

namespace MintyPHP\Service\Import;

use MintyPHP\Repository\Audit\ImportAuditRunRepository;
use MintyPHP\Repository\Audit\ImportAuditRunRepositoryInterface;

class ImportRepositoryFactory
{
    private ?ImportAuditRunRepository $importAuditRunRepository = null;

    public function createImportAuditRunRepository(): ImportAuditRunRepositoryInterface
    {
        return $this->importAuditRunRepository ??= new ImportAuditRunRepository();
    }
}
