Forwards the request to another controller.
string $controller The controller name (a string like BlogBundle:Post:index):
array $attributes An array of request attributes:
array $query An array of request query parameters:
public function forward($controller, array $attributes = array(), array $query = array()) {
$attributes['_controller'] = $controller;
$subRequest = $this->container
->get('request')
->duplicate($query, null, $attributes);
return $this
->handle($subRequest, HttpKernelInterface::SUB_REQUEST);
}