Commit 7a2f5448 authored by Fabien Potencier's avatar Fabien Potencier

Merge branch '1.3'

* 1.3:
  fixed deprecation warnings
  Update twig.rst
parents 836c81ec 900506f7
...@@ -181,6 +181,12 @@ Traits ...@@ -181,6 +181,12 @@ Traits
return $app->render('index.html', ['name' => 'Fabien'], new StreamedResponse()); return $app->render('index.html', ['name' => 'Fabien'], new StreamedResponse());
* **renderView**: Renders a view with the given parameters and returns a string.
.. code-block:: php
$content = $app->renderView('index.html', ['name' => 'Fabien']);
Customization Customization
------------- -------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment