Problem Description
How do I get the current route in [Symfony][1] 2?
For example, `routing.yml`:
somePage:
pattern: /page/
defaults: { _controller: "AcmeBundle:Test:index" }
How can I get this `somePage` value?
[1]: http://en.wikipedia.org/wiki/Symfony
AI-Generated Solution
Powered by LMSouq AI · GPT-4.1-mini
Analyzing problem and generating solution…
Was this solution helpful?