moved template cache configuration to the main Twig_Environment class.
authorfabien <fabien@93ef8e89-cb99-4229-a87c-7fa0fa45744b>
Wed, 11 Nov 2009 17:32:47 +0000 (17:32 +0000)
committerfabien <fabien@93ef8e89-cb99-4229-a87c-7fa0fa45744b>
Wed, 11 Nov 2009 17:32:47 +0000 (17:32 +0000)
commitdf585dea8236724a6d887c059898580534a57a99
tree1f0246b3352b85a176e7d03f862065f8fff1cd0a
parent71ed2a0470f819a17711280ff5c0f8e11aa2a062
moved template cache configuration to the main Twig_Environment class.

WARNING: This is an API change which is NOT backward compatible.

The loaders do not take the cache and autoReload options anymore.

Instead, the Twig_Environment class has two new options: cache and auto_reload.

Read the updated documentation for more information.

git-svn-id: http://svn.twig-project.org/trunk@134 93ef8e89-cb99-4229-a87c-7fa0fa45744b
doc/01-Introduction.markdown
doc/03-Twig-for-Developers.markdown
lib/Twig/Environment.php
lib/Twig/Loader.php
lib/Twig/Loader/Array.php
lib/Twig/Loader/Filesystem.php