Use Symfony's HttpFoundation to get requested route from uri.