25 lines
595 B
PHP
25 lines
595 B
PHP
<?php
|
|
|
|
namespace App\Services\Administrator;
|
|
|
|
use Illuminate\Http\Request;
|
|
|
|
class AdministratorTeacherSubmissionService
|
|
{
|
|
public function __construct(
|
|
protected TeacherSubmissionReportService $reportService,
|
|
protected TeacherSubmissionNotificationService $notificationService,
|
|
) {
|
|
}
|
|
|
|
public function report(array $filters = []): array
|
|
{
|
|
return $this->reportService->report($filters);
|
|
}
|
|
|
|
public function sendNotifications(Request $request, int $adminId): array
|
|
{
|
|
return $this->notificationService->send($request, $adminId);
|
|
}
|
|
}
|