Google News
logo
Symfony - Interview Questions
How to get the current route in Symfony?
You can get current route in Symfony using following code :
$request->get("_route"); //OR with Twig {{ app.request.attributes.get('_route') }}
Advertisement