added support for named arguments for filters, tests, and functions
authorFabien Potencier <fabien.potencier@gmail.com>
Thu, 15 Nov 2012 06:55:50 +0000 (07:55 +0100)
committerFabien Potencier <fabien.potencier@gmail.com>
Thu, 15 Nov 2012 09:23:32 +0000 (10:23 +0100)
commita59dcde3c2ae9293b449078b9a371f0450e045a9
treebcc3d28c895c03c60101c71c903cd0d10bebc65d
parent65637b7968c23ce44ddb33d464f9a6979e57ca68
added support for named arguments for filters, tests, and functions
46 files changed:
CHANGELOG
doc/filters/convert_encoding.rst
doc/filters/date.rst
doc/filters/date_modify.rst
doc/filters/default.rst
doc/filters/escape.rst
doc/filters/join.rst
doc/filters/json_encode.rst
doc/filters/number_format.rst
doc/filters/replace.rst
doc/filters/slice.rst
doc/filters/split.rst
doc/filters/trim.rst
doc/functions/cycle.rst
doc/functions/date.rst
doc/functions/dump.rst
doc/functions/random.rst
doc/functions/range.rst
doc/functions/template_from_string.rst
doc/templates.rst
lib/Twig/ExpressionParser.php
lib/Twig/Extension/Core.php
lib/Twig/Filter.php
lib/Twig/Filter/Function.php
lib/Twig/Filter/Method.php
lib/Twig/FilterCallableInterface.php [new file with mode: 0644]
lib/Twig/Function.php
lib/Twig/Function/Function.php
lib/Twig/Function/Method.php
lib/Twig/FunctionCallableInterface.php [new file with mode: 0644]
lib/Twig/Node/Expression/Call.php
lib/Twig/Node/Expression/Filter.php
lib/Twig/Node/Expression/Function.php
lib/Twig/Node/Expression/Test.php
lib/Twig/Test.php [new file with mode: 0644]
lib/Twig/Test/Function.php
lib/Twig/Test/Method.php
lib/Twig/Test/Node.php
lib/Twig/TestCallableInterface.php [new file with mode: 0644]
test/Twig/Tests/ExpressionParserTest.php
test/Twig/Tests/Fixtures/filters/date_namedargs.test [new file with mode: 0644]
test/Twig/Tests/Fixtures/filters/reverse.test
test/Twig/Tests/Fixtures/functions/date_namedargs.test [new file with mode: 0644]
test/Twig/Tests/Fixtures/functions/range.test [new file with mode: 0644]
test/Twig/Tests/Node/Expression/FilterTest.php
test/Twig/Tests/Node/Expression/FunctionTest.php