dump
This commit is contained in:
parent
e2adb5271e
commit
93ed4af064
|
@ -47,12 +47,9 @@ class IndexController extends AbstractController
|
|||
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');
|
||||
return $this->render('index/notificationDm.html.twig', [
|
||||
'serviceRepo' => $repo->findByOfferId($request->query->get('offer_id')),
|
||||
'beDmRepo' => $repoDm->findByOfferId($request->query->get('offer_id'))
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,4 +4,10 @@
|
|||
|
||||
{% block body %}
|
||||
<p>check profiler output</p>
|
||||
|
||||
<h1>MerServiceRepository->findByOfferId</h1>
|
||||
{{ dump(serviceRepo) }}
|
||||
|
||||
<h1>MerBeDMRepository->findByOfferId</h1>
|
||||
{{ dump(beDmRepo) }}
|
||||
{% endblock %}
|
||||
|
|
Loading…
Reference in New Issue