reconstruction of the project
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
<?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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user