Files
Epicnabbo-Catalogus-Updated…/cms update/app/Http/Controllers/Community/Staff/StaffController.php
T
Remco b67e0ec2b9 🆙 Add fixed cms 🆙
2026-02-02 19:30:21 +01:00

22 lines
494 B
PHP

<?php
namespace App\Http\Controllers\Community\Staff;
use App\Http\Controllers\Controller;
use App\Services\Community\StaffService;
use Illuminate\View\View;
class StaffController extends Controller
{
public function __construct(private readonly StaffService $staffService) {}
public function __invoke(): View
{
$employees = $this->staffService->fetchStaffPositions();
return view('community.staff', [
'employees' => $employees,
]);
}
}