[ Index ]

PHP Cross Reference of phpBB-3.1.12-deutsch

title

Body

[close]

/vendor/symfony/routing/Symfony/Component/Routing/ -> RouteCompiler.php (summary)

(no description)

File Size: 229 lines (10 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

RouteCompiler:: (4 methods):
  compile()
  compilePattern()
  findNextSeparator()
  computeRegexp()


Class: RouteCompiler  - X-Ref

RouteCompiler compiles Route instances to CompiledRoute instances.

compile(Route $route)   X-Ref
{@inheritdoc}


compilePattern(Route $route, $pattern, $isHost)   X-Ref
No description

findNextSeparator($pattern)   X-Ref
Returns the next static character in the Route pattern that will serve as a separator.

param: string $pattern The route pattern
return: string The next static character that functions as separator (or empty string when none available)

computeRegexp(array $tokens, $index, $firstOptional)   X-Ref
Computes the regexp used to match a specific token. It can be static text or a subpattern.

param: array $tokens        The route tokens
param: int   $index         The index of the current token
param: int   $firstOptional The index of the first optional token
return: string The regexp pattern for a single token



Generated: Thu Jan 11 00:25:41 2018 Cross-referenced by PHPXref 0.7.1