added the ability to set default values for macro arguments (closes #447)
authorFabien Potencier <fabien.potencier@gmail.com>
Thu, 15 Nov 2012 09:41:23 +0000 (10:41 +0100)
committerFabien Potencier <fabien.potencier@gmail.com>
Thu, 15 Nov 2012 11:59:42 +0000 (12:59 +0100)
commit4647913e500839e7d2d72f48385c23ddc3715b92
tree19dbc212f64333ed46ae94733dd7223cf62a76d6
parenta59dcde3c2ae9293b449078b9a371f0450e045a9
added the ability to set default values for macro arguments (closes #447)
CHANGELOG
doc/templates.rst
lib/Twig/ExpressionParser.php
lib/Twig/Node/Macro.php
lib/Twig/TokenParser/Macro.php
test/Twig/Tests/ExpressionParserTest.php
test/Twig/Tests/Fixtures/macros/default_values.test [new file with mode: 0644]
test/Twig/Tests/Node/MacroTest.php