I want to get a parameter from a link in Symfony.
When I visit the URL, I should be forwarded to the index page. I want to get the value of the token parameter. The link looks like this:
http://www.myapp.com/?token=khdfhgkdfjghjdfgd354dfgdfg454dfg
In my controller, I should get the value of the token.
But how do I do this using the GET method?