PHP Class Symfony\Component\Routing\RouteCompiler

Inheritance: implements Symfony\Component\Routing\RouteCompilerInterface
Show file Open project: symfony/routing Class Usage Examples

Public Methods

Method Description
compile ( Symfony\Component\Routing\Route $route )

Private Methods

Method Description
compilePattern ( Symfony\Component\Routing\Route $route, $pattern, $isHost )
computeRegexp ( array $tokens, integer $index, integer $firstOptional ) : string Computes the regexp used to match a specific token. It can be static text or a subpattern.
findNextSeparator ( string $pattern, boolean $useUtf8 ) : string Returns the next static character in the Route pattern that will serve as a separator.

Method Details

compile() public static method

public static compile ( Symfony\Component\Routing\Route $route )
$route Symfony\Component\Routing\Route