Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. CompiledUrlGenerator.php

function CompiledUrlGenerator::__construct

Overrides UrlGenerator::__construct

File

vendor/symfony/routing/Generator/CompiledUrlGenerator.php, line 25

Class

CompiledUrlGenerator
Generates URLs based on rules dumped by CompiledUrlGeneratorDumper.

Namespace

Symfony\Component\Routing\Generator

Code

public function __construct(array $compiledRoutes, RequestContext $context, ?LoggerInterface $logger = null, ?string $defaultLocale = null) {
    $this->compiledRoutes = $compiledRoutes;
    $this->context = $context;
    $this->logger = $logger;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal