Response
renderResponse(string $view, array $parameters = array(), Response $response = null)
Renders a view and returns a Response.
Parameters string $view The view name array $parameters An array of parameters to pass to the view Response $response A Response instance Return Value Response A Response instance Exceptions RuntimeException if the template cannot be rendered