deprecated the token parser broker sub-system
authorFabien Potencier <fabien.potencier@gmail.com>
Fri, 16 Nov 2012 16:47:28 +0000 (17:47 +0100)
committerFabien Potencier <fabien.potencier@gmail.com>
Fri, 16 Nov 2012 16:47:28 +0000 (17:47 +0100)
doc/deprecated.rst [new file with mode: 0644]
doc/index.rst
lib/Twig/TokenParserBroker.php
lib/Twig/TokenParserBrokerInterface.php

diff --git a/doc/deprecated.rst b/doc/deprecated.rst
new file mode 100644 (file)
index 0000000..88c08d3
--- /dev/null
@@ -0,0 +1,14 @@
+Deprecated Features
+===================
+
+This document lists all deprecated features in Twig 1.x. They are kept for
+backward compatibility but they will be removed in Twig 2.0.
+
+Token Parsers
+-------------
+
+* The token parser broker sub-system is deprecated; the following class and
+  interface will be removed in 2.0:
+
+  * ``Twig_TokenParserBrokerInterface``
+  * ``Twig_TokenParserBroker``
index 56012f7..3e5166c 100644 (file)
@@ -15,3 +15,4 @@ Twig
     filters/index
     functions/index
     tests/index
+    deprecated
index f2c27ee..71b2436 100644 (file)
@@ -15,6 +15,8 @@
  *
  * @package twig
  * @author  Arnaud Le Blanc <arnaud.lb@gmail.com>
+ *
+ * @deprecated
  */
 class Twig_TokenParserBroker implements Twig_TokenParserBrokerInterface
 {
index b8e3c23..c33c50b 100644 (file)
@@ -17,6 +17,8 @@
  *
  * @package twig
  * @author  Arnaud Le Blanc <arnaud.lb@gmail.com>
+ *
+ * @deprecated
  */
 interface Twig_TokenParserBrokerInterface
 {