Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
38 | protected function forward(string $controller, array $path = [], array $query = []) : Response |
||
39 | { |
||
40 | $path['_controller'] = $controller; |
||
41 | $subRequest = $this->requestStack->getCurrentRequest()->duplicate($query, null, $path); |
||
42 | |||
43 | return $this->httpKernel->handle($subRequest, HttpKernelInterface::SUB_REQUEST); |
||
44 | } |
||
45 | } |
||
46 |