usemarkup / BarcodeBundle

A Symfony2 bundle that provides straightforward barcode generation using the Zend Barcode component.
MIT License
2 stars 3 forks source link

[BarcodeBundle] Add missing getName method in twig extension #4

Closed aramalipoor closed 7 years ago

shieldo commented 7 years ago

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.