added the lexer, parser, and compiler as arguments to the Twig_Environment constructor

This commit is contained in:
Fabien Potencier
2010-05-26 13:52:49 +02:00
parent dc80fe13c8
commit c7fbd4307a
6 changed files with 31 additions and 33 deletions
+1
View File
@@ -3,6 +3,7 @@
Backward incompatibilities:
* The short notation of the `block` tag changed.
* added the lexer, parser, and compiler as arguments to the Twig_Environment constructor
* changed the cache option to only accepts an explicit path to a cache directory or false
* added a way to add token parsers, filters, and visitors without creating an extension
* added three interfaces: Twig_NodeInterface, Twig_TokenParserInterface, and Twig_FilterInterface