Skip to content

Commit

Permalink
added description details
Browse files Browse the repository at this point in the history
  • Loading branch information
Lars Krüger committed Jun 16, 2011
1 parent ebe6348 commit 194edd0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ TwigstringBundle information & howto
====================================

This Symfony2 Bundle adds the possibility to render strings instead of files with the Symfony2 native Twig templating engine.
The Bundle adds an additional service named `twigstring`. It is used the same way as the original templating service.
The only difference is that the first argument of the method render(<string>, [<array]) is a string to parse instead of a template file.

One exmample usage scenario is to load templates from the database instead of using files.

Install on your project:
------------------------
Expand Down

0 comments on commit 194edd0

Please sign in to comment.