Files
alrahma_sunday_school_api/app/Services/Administrator/AdministratorNotificationService.php
T
2026-06-11 11:46:12 -04:00

32 lines
792 B
PHP

<?php
namespace App\Services\Administrator;
class AdministratorNotificationService
{
public function __construct(
protected AdminNotificationSubjectService $subjectService,
protected AdminPrintRecipientService $printRecipientService,
) {}
public function notificationsAlertsData(): array
{
return $this->subjectService->alertsData();
}
public function saveNotificationSubjects(array $posted): array
{
return $this->subjectService->save($posted);
}
public function printNotificationRecipientsData(): array
{
return $this->printRecipientService->data();
}
public function savePrintNotificationRecipients(array $posted): array
{
return $this->printRecipientService->save($posted);
}
}