title: How to get current route in Symfony 2?
body: <p>How do I get the current route in <a href="http://en.wikipedia.org/wiki/Symfony" rel="noreferrer">Symfony</a> 2?</p>
  
  <p>For example, <code>routing.yml</code>:</p>
  
  <pre><code>somePage:
     pattern: /page/
     defaults: { _controller: "AcmeBundle:Test:index" }
  </code></pre>
  
  <p>How can I get this <code>somePage</code> value?</p>