TwigEngine::renderResponse()

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
doc_Symfony
2016-10-28 06:35:41
Comments
Leave a Comment

Please login to continue.