5 use Psr\Log\LoggerInterface;
10 class UrlGenerator extends \Symfony\Component\Routing\Generator\UrlGenerator {
21 parent::__construct($routes,
$context, $logger, $defaultLocale);
__construct(RouteCollection $routes, RequestContext $context, ?LoggerInterface $logger=null, ?string $defaultLocale=null)
Create a new UrlGenerator.
Delegates requests to controllers based on the registered configuration.