I see that the
Twig_Loader_String class has been deprecated and will be removed in Twig 2.0. Also, the comments in the source indicate that it should "NEVER be used".
There are numerous valid use cases for a string containing a Twig template.
The question is: What to use instead?