Files
alrahma_sunday_school_api/app/Services/Administrator/AdministratorNotificationService.php
T
2026-03-08 16:33:24 -04:00

32 lines
796 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);
}
}