24 lines
507 B
PHP
24 lines
507 B
PHP
<?php
|
|
|
|
namespace App\Services\Notifications;
|
|
|
|
use Illuminate\Support\Facades\Log;
|
|
|
|
class NotificationDispatchService
|
|
{
|
|
public function sendEmail(string $to, string $subject, string $message): void
|
|
{
|
|
Log::info('Notification email queued.', [
|
|
'to' => $to,
|
|
'subject' => $subject,
|
|
]);
|
|
}
|
|
|
|
public function sendSms(string $phone, string $message): void
|
|
{
|
|
Log::info('Notification SMS queued.', [
|
|
'phone' => $phone,
|
|
]);
|
|
}
|
|
}
|