title: how to get currency symbol in twig, symfony2?
body: <p>I am currently able to get currency symbol in symfony2 controller</p>
  
  <pre><code>$formatter = new \NumberFormatter($this-&gt;getRequest()-&gt;getLocale(),\NumberFormatter::CURRENCY);
  $symbol = $formatter-&gt;getSymbol(\NumberFormatter::CURRENCY_SYMBOL);
  </code></pre>
  
  <p>and then pass it to twig.</p>
  
  <p>However, because I need to get this currency symbol in many twig templates, inserting that piece of code in the corresponding controllers is not a pleasant thing to do. So, is there any better/easier way to do this directly in twig?</p>
  
  <p>Thanks.</p>