mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-16 04:16:28 +00:00
Fixed php doc in Twig/Extension/StringLoader
This commit is contained in:
@@ -33,7 +33,7 @@ class Twig_Extension_StringLoader extends Twig_Extension
|
|||||||
* Loads a template from a string.
|
* Loads a template from a string.
|
||||||
*
|
*
|
||||||
* <pre>
|
* <pre>
|
||||||
* {% include template_from_string("Hello {{ name }}") }}
|
* {{ include(template_from_string("Hello {{ name }}")) }}
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* @param Twig_Environment $env A Twig_Environment instance
|
* @param Twig_Environment $env A Twig_Environment instance
|
||||||
|
|||||||
Reference in New Issue
Block a user