added the first and last filters (closes #951)
authorFabien Potencier <fabien.potencier@gmail.com>
Sat, 26 Jan 2013 15:59:11 +0000 (16:59 +0100)
committerFabien Potencier <fabien.potencier@gmail.com>
Sat, 26 Jan 2013 15:59:11 +0000 (16:59 +0100)
commitf8d4db41071e63a783b6cb21ae132ae151b97c40
tree729c588ae9535c2c627eb3da9cbd77e2847d5724
parent5218db779633b2292102863da464896deee0c8cb
added the first and last filters (closes #951)
CHANGELOG
doc/filters/first.rst [new file with mode: 0644]
doc/filters/index.rst
doc/filters/last.rst [new file with mode: 0644]
lib/Twig/Extension/Core.php
test/Twig/Tests/Fixtures/filters/first.test [new file with mode: 0644]
test/Twig/Tests/Fixtures/filters/last.test [new file with mode: 0644]