navLinks = NavList::LIST; $this->navLinks['staff_dashboard'] = NavList::PRESENT_LINK; } #[Route('/staff-dashboard', name: 'app_staff_dashboard')] public function staffDashboard(#[CurrentUser()] User $user): Response { return $this->render( 'internal/staff/staff-dashboard.html.twig', array_merge( $this->navLinks, [ 'breadcrumbs' => [ new Breadcrumb('', 'Staff Dashboard') ], 'notifications' => $user->retrieveUnreadNotifications(), ] ) ); } }