public UrlGeneratorInterface::generateFromRoute($name
Defines an interface for generating a url from a route or system path. Provides additional methods and options not present in the base interface
public UrlGeneratorInterface::getPathFromRoute($name