Revision 1938
Added by darkviper almost 11 years ago
StringLoader.php | ||
---|---|---|
33 | 33 |
* Loads a template from a string. |
34 | 34 |
* |
35 | 35 |
* <pre> |
36 |
* {% include template_from_string("Hello {{ name }}") }}
|
|
36 |
* {{ include(template_from_string("Hello {{ name }}")) }}
|
|
37 | 37 |
* </pre> |
38 | 38 |
* |
39 | 39 |
* @param Twig_Environment $env A Twig_Environment instance |
Also available in: Unified diff
update Twig template engine to version 1.13.1