| Conditions | 2 |
| Paths | 2 |
| Total Lines | 8 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 36 | public function index(DocumentManager $dm, Request $request, string $mercurePublicUrl, bool $mercureEnabled = true): Response |
||
| 37 | { |
||
| 38 | if($mercureEnabled) { |
||
| 39 | $this->addLink($request, new Link('mercure', $mercurePublicUrl)); |
||
| 40 | } |
||
| 41 | |||
| 42 | $data = $dm->getRepository('App:Provider')->findUpdateInProgress(); |
||
| 43 | return $this->json($data); |
||
| 44 | } |
||
| 47 |