merged branch phmLabs/Twig_NodeInterface_Bug (PR #482)
authorFabien Potencier <fabien.potencier@gmail.com>
Tue, 25 Oct 2011 12:23:22 +0000 (14:23 +0200)
committerFabien Potencier <fabien.potencier@gmail.com>
Tue, 25 Oct 2011 12:23:22 +0000 (14:23 +0200)
Commits
-------

c91357d Moved interfaces

Discussion
----------

Moved interfaces

The Countable and IteratorAggregate interfaces have to be part of the Twig_NodeInterface as the Twig_NodeInterface is used as a typehint and the function tries to iterate over its elements.

E.g:

Twig_NodeTraverser::traverseForVisitor

foreach ($node as $k => $n)


Trivial merge