class RouteCompiler implements RouteCompilerInterface
RouteCompiler compiles Route instances to CompiledRoute instances.
REGEX_DELIMITER | |
SEPARATORS | 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 and generating URLs. |
VARIABLE_MAXIMUM_LENGTH | The maximum supported length of a PCRE subpattern name http://pcre.org/current/doc/html/pcre2pattern.html#SEC16. |
static CompiledRoute | compile(Route $route) Compiles the current route instance. |
Compiles the current route instance.
Route | $route |
CompiledRoute | A CompiledRoute instance |
LogicException | If the Route cannot be compiled because the path or host pattern is invalid |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Routing/RouteCompiler.html