Symfony\Bundle\FrameworkBundle\Controller\Controller::forward
Forwards the request to another controller.
Signature
public function forward(string
$controller,
array
$path,
array
$query )
Parameters
$controller
— string- The controller name (a string like BlogBundle:Post:index)
$path
— array- An array of path parameters
$query
— array- An array of query parameters
Returns
- Response
- A Response instance