fabpot/Twig — pull request #874 by fabpot (2012-10-28 16:32:29+00:00)
Title: added the template_from_string function

One of the most often asked question is how someone can evaluate a template string from a template.

The template_from_string function solves this problem (more in the included docs).

I have two questions before merging this:

* What about the name? I find it quite long but also readable (`{% include template_from_string(template) %}`).

* Does it belongs to Twig core?