Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
24 | public function indexAction(Request $request) |
||
25 | { |
||
26 | $uri = $request->query->getAlnum('uri'); |
||
27 | $params = $request->query->get('params'); |
||
28 | |||
29 | $client = $this->get('loevgaard_pakkelabels.client'); |
||
30 | $res = $client->doRequest('get', $uri, [ |
||
31 | 'query' => $params |
||
32 | ]); |
||
33 | |||
34 | return new JsonResponse($res); |
||
35 | } |
||
36 | } |
||
37 |