Compiler to generate derived information from a Route necessary for matching.
Hierarchy
- class \Symfony\Component\Routing\RouteCompiler implements \Symfony\Component\Routing\RouteCompilerInterface
- class \Drupal\Core\Routing\RouteCompiler implements RouteCompilerInterface
File
- core/lib/Drupal/Core/Routing/RouteCompiler.php, line 12
Namespace
Drupal\Core\Routing
Members
Name | Modifiers | Type | Description |
---|---|---|---|
RouteCompiler::compile | public static | function | Compiles the current route instance. Overrides RouteCompiler::compile |
RouteCompiler::compilePattern | private static | function | |
RouteCompiler::computeRegexp | private static | function | Computes the regexp used to match a specific token. It can be static text or a subpattern. |
RouteCompiler::findNextSeparator | private static | function | Returns the next static character in the Route pattern that will serve as a separator. |
RouteCompiler::getFit | public static | function | Determines the fitness of the provided path. |
RouteCompiler::getPathWithoutDefaults | public static | function | Returns the path of the route, without placeholders with a default value. |
RouteCompiler::getPatternOutline | public static | function | Returns the pattern outline. |
RouteCompiler::REGEX_DELIMITER | constant | Utility constant to use for regular expressions against the path. Overrides RouteCompiler::REGEX_DELIMITER | |
RouteCompiler::SEPARATORS | constant | This string defines the characters that are automatically considered separators in front of optional placeholders (with default and no static text following). Such a single separator can be left out together with the optional placeholder from matching… |
Please login to continue.