Join GitHub today
Update Twig extension documentation to use 1.12 changes #2421
This will apply to 2.1+. As of Twig 1.12, creating a Twig extension is slightly different. For example,
Both the old and new version of the Twig docs are maintained, which is nice for comparison:
http://symfony.com/doc/master/cookbook/templating/twig_extension.html should be updated with the new way to go, right?