title: Global variable in symfony2 to use in php template
body: <p>I need to define a global variable in symfony2 and then, use it in several php template.</p>
  
  <p>I found in <a href="http://symfony.com/doc/current/cookbook/templating/global_variables.html" rel="nofollow">documentation</a> how to use in twig templates, but I need how to define and use in php template.</p>
  
  <p>Thanks.</p>