Symfony2 global variables in TWIG

Except well documented TWIG functions like: path(),  asset(), … and custom variables you pass into view from controller when rendering some TWIG template, Symfony2 provides an easy way to access some ‘global’ variables inside TWIG templates without explicitly sending those to the view from controller. Let me write some example: Global variable app is start … Continue reading Symfony2 global variables in TWIG