deprecated Twig_Environment::clearTemplateCache()

This commit is contained in:
Fabien Potencier
2015-07-03 11:29:18 +02:00
parent 1255e360e7
commit 61eb80b089
3 changed files with 9 additions and 0 deletions
+1
View File
@@ -1,5 +1,6 @@
* 1.18.3 (2015-XX-XX)
* deprecated Twig_Environment::clearTemplateCache()
* fixed sandbox disabling when using the include function
* 1.18.2 (2015-06-06)
+6
View File
@@ -113,3 +113,9 @@ Globals
* As of Twig 2.x, the ability to register a global variable after the runtime
or the extensions have been initialized is not possible anymore (but
changing the value of an already registered global is possible).
Miscellaneous
-------------
* As of Twig 1.x, ``Twig_Environment::clearTemplateCache()`` is deprecated and
will be removed in 2.0.
+2
View File
@@ -443,6 +443,8 @@ class Twig_Environment
/**
* Clears the internal template cache.
*
* @deprecated since 1.18.3 (to be removed in 2.0)
*/
public function clearTemplateCache()
{