removed coupling between Twig_Node and Twig_Template
authorFabien Potencier <fabien.potencier@gmail.com>
Sun, 16 Jan 2011 06:46:59 +0000 (07:46 +0100)
committerFabien Potencier <fabien.potencier@gmail.com>
Sun, 16 Jan 2011 06:49:01 +0000 (07:49 +0100)
commit64f63bef19a4e9ba0c460103944cf833597fb1be
treefaa04ec07d7e8fa7ca5a7069039f92b8c3681006
parent11a8f31c5a58bb94c0c6a9172bc5d88503d4856f
removed coupling between Twig_Node and Twig_Template

This coupling was bad as Twig_Node should only be useful
during compilation.

So, the Twig_Node_Expression_GetAttr constants have been moved
to Twig_TemplateInterface.
CHANGELOG
lib/Twig/ExpressionParser.php
lib/Twig/Node/Expression/GetAttr.php
lib/Twig/Template.php
lib/Twig/TemplateInterface.php
test/Twig/Tests/Node/Expression/GetAttrTest.php
test/Twig/Tests/TemplateTest.php