RouteCompiler::getFit

public static function RouteCompiler::getFit

public static RouteCompiler::getFit($path)

Determines the fitness of the provided path.

Parameters

string $path: The path whose fitness we want.

Return value

int The fitness of the path, as an integer.

File

core/lib/Drupal/Core/Routing/RouteCompiler.php, line 86

Class

RouteCompiler
Compiler to generate derived information from a Route necessary for matching.

Namespace

登录查看完整内容