Tomáš Votruba Blog: How to Upgrade Twig from Underscored to Namespaces

Symfony recently announced a new version of Twig with namespaces as we know it. Before PHP 5.2 there was Underscored_Namespace – I remember because that was the first version I used.

Today I’ll show you how to upgrade from _ to \ in few minutes seconds.

from PHPDeveloper.org http://bit.ly/2I1kveg
via IFTTT

Leave a Reply