Repo Interface für tests
This commit is contained in:
@@ -3,12 +3,13 @@
|
||||
namespace MintyPHP\Service\Mail;
|
||||
|
||||
use MintyPHP\Repository\Mail\MailLogRepository;
|
||||
use MintyPHP\Repository\Mail\MailLogRepositoryInterface;
|
||||
|
||||
class MailRepositoryFactory
|
||||
{
|
||||
private ?MailLogRepository $mailLogRepository = null;
|
||||
|
||||
public function createMailLogRepository(): MailLogRepository
|
||||
public function createMailLogRepository(): MailLogRepositoryInterface
|
||||
{
|
||||
return $this->mailLogRepository ??= new MailLogRepository();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user