agent foundation

This commit is contained in:
2026-03-06 00:44:52 +01:00
parent 9819cba733
commit 9a08f96c11
199 changed files with 8522 additions and 1880 deletions

View File

@@ -3,7 +3,7 @@
namespace MintyPHP\Service\Mail;
use MintyPHP\Repository\Mail\MailLogRepositoryInterface;
use MintyPHP\Service\Settings\SettingGateway;
use MintyPHP\Service\Settings\SettingsSmtpGateway;
class MailServicesFactory
{
@@ -12,7 +12,7 @@ class MailServicesFactory
public function __construct(
private readonly MailRepositoryFactory $mailRepositoryFactory,
private readonly SettingGateway $settingGateway
private readonly SettingsSmtpGateway $settingsSmtpGateway
) {
}
@@ -25,7 +25,7 @@ class MailServicesFactory
{
return $this->mailService ??= new MailService(
$this->createMailLogRepository(),
$this->createSettingGateway()
$this->createSettingsSmtpGateway()
);
}
@@ -34,8 +34,8 @@ class MailServicesFactory
return $this->mailLogService ??= new MailLogService($this->createMailLogRepository());
}
private function createSettingGateway(): SettingGateway
private function createSettingsSmtpGateway(): SettingsSmtpGateway
{
return $this->settingGateway;
return $this->settingsSmtpGateway;
}
}