projects
/
konrad/twig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
combined
(merge:
fc016bd
c91357d
)
merged branch phmLabs/Twig_NodeInterface_Bug (PR #482)
author
Fabien Potencier
<fabien.potencier@gmail.com>
Tue, 25 Oct 2011 12:23:22 +0000 (14:23 +0200)
committer
Fabien 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