How to get current route name in Symfony?
$requestName = $this->container->get('request');
$currentRoute = $requestName->get('_route');
BY Best Interview Question ON 24 Jan 2019
$requestName = $this->container->get('request');
$currentRoute = $requestName->get('_route');