public UrlGenerator::__construct(RouteProviderInterface $provider, OutboundPathProcessorInterface $path_processor, OutboundRouteProcessorInterface $route_processor, RequestStack $request_stack, array $filter_protocols = ['http', 'https'])
Constructs a new generator object.
Parameters
\Drupal\Core\Routing\RouteProviderInterface $provider: The route provider to be searched for routes.
\Drupal\Core\PathProcessor\OutboundPathProcessorInterface $path_processor: The path processor to convert the sys