Fabien Potencier 035185aaa4 minor #1231 fix phpdoc for environment, lexer and parser (Tobion)
This PR was squashed before being merged into the master branch (closes #1231).

Discussion
----------

fix phpdoc for environment, lexer and parser

First commit fixes several phpdocs <del>and also an instanceof check</del>.
The second commit changes an exception from Runtime to Syntax because it doesn't make sense to throw runtime exception during compilation. It also makes it consistent with all the rest (lexer, parser, compiler classes).

Commits
-------

cc5f3c4 fix phpdoc for environment, lexer and parser
2013-10-15 17:54:43 +02:00
2013-10-03 22:15:48 -07:00
2013-10-03 09:19:21 +02:00
2013-10-15 17:50:35 +02:00
2013-08-03 17:50:09 +02:00
2013-09-28 08:26:47 +02: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.

More Information

Read the documentation for more information.

Languages
PHP 99.9%