Files
alrahma_sunday_school_api/app/Services/Families/FamilyNotificationService.php
T
2026-03-10 17:52:47 -04:00

31 lines
649 B
PHP

<?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
);
}
}