deprecated the token parser broker sub-system

This commit is contained in:
Fabien Potencier
2012-11-16 17:47:28 +01:00
parent 158ed4e88c
commit 8563e040c9
4 changed files with 19 additions and 0 deletions
+14
View File
@@ -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``
+1
View File
@@ -15,3 +15,4 @@ Twig
filters/index filters/index
functions/index functions/index
tests/index tests/index
deprecated
+2
View File
@@ -15,6 +15,8 @@
* *
* @package twig * @package twig
* @author Arnaud Le Blanc <arnaud.lb@gmail.com> * @author Arnaud Le Blanc <arnaud.lb@gmail.com>
*
* @deprecated
*/ */
class Twig_TokenParserBroker implements Twig_TokenParserBrokerInterface class Twig_TokenParserBroker implements Twig_TokenParserBrokerInterface
{ {
+2
View File
@@ -17,6 +17,8 @@
* *
* @package twig * @package twig
* @author Arnaud Le Blanc <arnaud.lb@gmail.com> * @author Arnaud Le Blanc <arnaud.lb@gmail.com>
*
* @deprecated
*/ */
interface Twig_TokenParserBrokerInterface interface Twig_TokenParserBrokerInterface
{ {