add family logic

This commit is contained in:
root
2026-03-10 17:52:47 -04:00
parent a82f7aedbc
commit 17d73e2f92
37 changed files with 2611 additions and 2 deletions
@@ -0,0 +1,30 @@
<?php
namespace App\Services\Families;
use App\Services\Email\EmailDispatchService;
class FamilyNotificationService
{
public function __construct(private EmailDispatchService $dispatch)
{
}
public function sendComposeEmail(
string $recipient,
string $subject,
string $htmlMessage,
?string $profile = null,
?string $replyToEmail = null,
?string $replyToName = null
): bool {
return $this->dispatch->send(
$recipient,
$subject,
$htmlMessage,
$profile,
$replyToEmail,
$replyToName
);
}
}