title: SYmfony routing get parameter from url
body: <p>I want to get a parameter from a link in symfony 2.</p>
  
  <p>when I clic in the link from url, I should forwarded to the index page, and get the value of the token parameter.
  my link is look as follow</p>
  
  <pre><code>http://www.myapp.com/?token=khdfhgkdfjghjdfgd354dfgdfg454dfg
  </code></pre>
  
  <p>so in my controller, I should get the value of the token.</p>
  
  <p>How do this in symfony 2, in the routing symfony 2. the action of course is get, but how I do this in the routing file</p>
  
  <p>thanks</p>