mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-15 11:56:50 +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.
|
||||
*
|
||||
* <pre>
|
||||
* {% include template_from_string("Hello {{ name }}") }}
|
||||
* {{ include(template_from_string("Hello {{ name }}")) }}
|
||||
* </pre>
|
||||
*
|
||||
* @param Twig_Environment $env A Twig_Environment instance
|
||||
|
||||
Reference in New Issue
Block a user