protected UrlGenerator::doGenerate(array $variables, array $defaults, array $tokens, array $parameters, array $query_params, $name)
Substitute the route parameters into the route path.
Note: This code was copied from \Symfony\Component\Routing\Generator\UrlGenerator::doGenerate() and shortened by removing code that is not relevant to Drupal or that is handled separately in ::generateFromRoute(). The Symfony version should be examined for changes in new Symfony releases.
Parameters
array $varia