Forwards the request to another controller.
public forward ( string $controller, array $attributes = [], array $query = [] ) : Response | ||
$controller | string | The controller name (a string like BlogBundle:Post:index) |
$attributes | array | An array of request attributes |
$query | array | An array of request query parameters |
return | Response | A Response instance |