fabpot/Twig — Issue #536: Move method Twig_Template::getAttribute to function
Author: Koc
Created: 2011-11-27 11:22:48+00:00
State: open

I'm propose move this method to `twig_template_get_attributes` function.

What we can get:
1) simplify compilation when php extension avalible (no more conditions like `if (function_exist('twig_template_get_attributes')) write it else write getAttribute`)
2) some extensions (filters) get possibility use it #535