CompiledRoute::getFit

public CompiledRoute::getFit()

Returns the fit of this route.

See RouteCompiler for a definition of how the fit is calculated.

Return value

int The fit of the route.

File

core/lib/Drupal/Core/Routing/CompiledRoute.php, line 80

Class

CompiledRoute
A compiled route contains derived information from a route object.

Namespace

Drupal\Core\Routing

Code

public function getFit() {
  return $this->fit;
}
doc_Drupal
2016-10-29 08:51:33
Comments
Leave a Comment

Please login to continue.