1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
| /**
* @Route("/manger", name="site_manger")
*/
public function mangerAction()
{
$userSlpRepo = $this->getDoctrine()->getRepository(UserSlp::class);
$surveyProgressRepo = $this->getDoctrine()->getRepository(SurveyProgress::class);
$surveyRepo = $this->getDoctrine()->getRepository(Survey::class);
$questionMangerRepo = $this->getDoctrine()->getRepository(Manger::class);
$userSLP=$userSlpRepo->findAll();
$surveyprogreSLP=$surveyProgressRepo->findAll();
$surveySLP=$surveyRepo->findAll();
$manger = $questionMangerRepo->findAll();
//$données=this->getRequest....etc
return $this->render('site/site_manger.html.twig', array(
'mangers' => $manger,
'userSLP' => $userSLP,
'surveySLP' => $surveySLP,
'surveyprogreSLP' => $surveyprogreSLP,
// $données-------<<----ICI---??
));
} |