Both of these functions duplicate the existing symfony path/url functionality and we only add the logging behavior. We could have this class extend the symfony twig routing extension and just call those functions but it wouldn't gain us much except perhaps the ability to utilize the existing isUrlGenerationSafe method