function CompiledRoute::__construct
Same name in this branch
- 11.1.x core/lib/Drupal/Core/Routing/CompiledRoute.php \Drupal\Core\Routing\CompiledRoute::__construct()
Parameters
string $staticPrefix The static prefix of the compiled route:
string $regex The regular expression to use to match this route:
array $tokens An array of tokens to use to generate URL for this route:
array $pathVariables An array of path variables:
string|null $hostRegex Host regex:
array $hostTokens Host tokens:
array $hostVariables An array of host variables:
array $variables An array of variables (variables defined in the path and in the host patterns):
2 calls to CompiledRoute::__construct()
- CompiledRoute::__construct in core/
lib/ Drupal/ Core/ Routing/ CompiledRoute.php - Constructs a new compiled route object.
- CompiledRoute::__construct in core/
lib/ Drupal/ Core/ Routing/ CompiledRoute.php - Constructs a new compiled route object.
1 method overrides CompiledRoute::__construct()
- CompiledRoute::__construct in core/
lib/ Drupal/ Core/ Routing/ CompiledRoute.php - Constructs a new compiled route object.
File
-
vendor/
symfony/ routing/ CompiledRoute.php, line 31
Class
- CompiledRoute
- CompiledRoutes are returned by the RouteCompiler class.
Namespace
Symfony\Component\RoutingCode
public function __construct(string $staticPrefix, string $regex, array $tokens, array $pathVariables, ?string $hostRegex = null, array $hostTokens = [], array $hostVariables = [], array $variables = []) {
}