Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
27 | public function __invoke(Request $request): Response |
||
28 | { |
||
29 | $orders = $this->orderRepository->findByNumberPart($request->get('number', '')); |
||
30 | $view = View::create($orders); |
||
31 | |||
32 | $this->viewHandler->setExclusionStrategyGroups(['Autocomplete']); |
||
33 | $view->getContext()->enableMaxDepth(); |
||
34 | |||
35 | return $this->viewHandler->handle($view); |
||
36 | } |
||
38 |