Fabien Potencier 7001217ed3 merged branch phmLabs/Twig_NodeInterface_Bug (PR #482)
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)
2011-10-25 14:23:22 +02:00
2010-05-11 10:38:48 +02:00
2011-10-17 01:16:34 +02:00
2009-10-07 21:21:11 +00:00
2011-10-08 14:05:18 +02:00
2009-10-07 21:21:11 +00:00
2009-10-12 07:05:31 +00:00
2009-10-07 21:21:11 +00:00

Twig, the flexible, fast, and secure template language for PHP

Twig is a template language for PHP, released under the new BSD license (code and documentation).

Twig uses a syntax similar to the Django and Jinja template languages which inspired the Twig runtime environment.

Languages
PHP 99.9%