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