Hi! This was removed because it's no longer needed on the interface after Twig 1.26, and the full-stack Symfony 2.7 requires at least 1.28 or 2.0+. I imagine you can use the 1.1.1 tag if that suits your requirements better - there's no behavioural change in 2.0.0 aside from dropping supports for older versions of dependencies (indeed, declaring the getName method for more recent versions will generate deprecation warnings).
I'm going to close this PR, but if what I've suggested doesn't suit your use case, please let me know.
Hi! This was removed because it's no longer needed on the interface after Twig 1.26, and the full-stack Symfony 2.7 requires at least 1.28 or 2.0+. I imagine you can use the 1.1.1 tag if that suits your requirements better - there's no behavioural change in 2.0.0 aside from dropping supports for older versions of dependencies (indeed, declaring the
getName
method for more recent versions will generate deprecation warnings).I'm going to close this PR, but if what I've suggested doesn't suit your use case, please let me know.