codeguy/Slim — pull request #291 by eocdev (2012-04-27 10:33:01+00:00)
Title: Add fetch method to return rendered template without echoing it

Allow a rendered template to be returned as follows:

$rendered_template = $app->view()->fetch('template.tpl');

## Reasoning

This is useful for rendering a template to a string. That string can then be passed on to a function that sends email, for example.