getSchemaManager(); foreach ($paraSubRepo->findAll() as $sub) { dump($sub); } dump('-------------------'); foreach ($beSubRepo->findAll() as $sub) { dump($sub); } return $this->render('index/index.html.twig', [ 'schemaManager' => $sm, //'offer_id' => $sub->getService()->ge ]); } #[Route('/notification/dm', name: 'notification_dm')] public function notificationDm( Request $request, MerServiceRepository $repo, MerBeDMRepository $repoDm ): Response { dump('MerServiceRepository->findByOfferId'); dump($repo->findByOfferId($request->query->get('offer_id'))); dump('MerBeDMRepository->findByOfferId'); dump($repoDm->findByOfferId($request->query->get('offer_id'))); return $this->render('index/notificationDm.html.twig'); } }