How to get the current route in Symfony Framework?

Member

braeden

by braeden , in category: Technology , 2 months ago

How to get the current route in Symfony Framework?

Facebook Twitter LinkedIn Telegram Whatsapp

1 answer

Member

by adolf , 2 months ago

You can get current route in Symfony using 

$request->get(‘_route’); 

method.