getUser(); $teamer = $user->getTeamer(); $matchingAssignments = $this ->entityManager ->getRepository(Assignment::class) ->getNewMatchingTeamerProfile($teamer) ; $recentFeedback = $this ->entityManager ->getRepository(Feedback::class) ->getRecentForTeamer($teamer) ; $pendingApplications = $this ->entityManager ->getRepository(Application::class) ->getPendingForTeamer($teamer) ; $upcomingDispositions = $this ->entityManager ->getRepository(Disposition::class) ->getUpcomingDispositionsByTeamer($teamer) ; return $this->render('teamer/index.html.twig', [ 'matchingAssignments' => $matchingAssignments, 'recentFeedback' => $recentFeedback, 'pendingApplications' => $pendingApplications, 'upcomingDispositions' => $upcomingDispositions, ]); } }