root query

This commit is contained in:
2022-05-24 09:14:42 +02:00
parent b58b92bc30
commit b1d6490d24
2 changed files with 28 additions and 9 deletions

View File

@ -42,9 +42,8 @@ class IndexController extends AbstractController
#[Route('/notification/dm', name: 'notification_dm')]
public function notificationDm(Request $request, MerServiceRepository $repo): Response
{
foreach ($repo->findByOfferId($request->query->get('offer_id')) as $sub) {
dump($sub);
}
dump('MerServiceRepository->findByOfferId');
dump($repo->findByOfferId($request->query->get('offer_id')));
return $this->render('index/notificationDm.html.twig');
}